View | Details | Raw Unified | Return to bug 201267
Collapse All | Expand All

(-)Makefile (-8 / +12 lines)
Lines 2-15 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libint
4
PORTNAME=	libint
5
PORTVERSION=	1.1.4
5
PORTVERSION=	1.1.6
6
PORTREVISION=	2
7
CATEGORIES=	science
6
CATEGORIES=	science
8
MASTER_SITES=	http://www.files.chem.vt.edu/chem-dept/valeev/software/libint/src/
9
7
10
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Evaluate the integrals in modern atomic and molecular theory
9
COMMENT=	Evaluate the integrals in modern atomic and molecular theory
12
10
11
LICENSE=        GPLv2
12
LICENSE_FILE=   ${WRKSRC}/LICENSE
13
14
USE_GITHUB=     yes
15
GH_ACCOUNT=     evaleev
16
GH_PROJECT=     libint
17
GH_TAGNAME=     0e0ffa7
18
13
# USE_GCC=yes is required because libint is used with mpqc which is built
19
# USE_GCC=yes is required because libint is used with mpqc which is built
14
# by gfortran48 (from lang/gcc) and these two libraries each try to pull in
20
# by gfortran48 (from lang/gcc) and these two libraries each try to pull in
15
# a different version of libgcc_s.so which fails.  Forcing this port to
21
# a different version of libgcc_s.so which fails.  Forcing this port to
Lines 16-22 Link Here
16
# build with lang/gcc as well resolves the conflict that manifests in
22
# build with lang/gcc as well resolves the conflict that manifests in
17
# science/libghemical
23
# science/libghemical
18
24
19
USES=		perl5 gmake libtool
25
USES=		perl5 gmake libtool autoreconf
26
#autoreconf
27
#USE_AUTOTOOLS=	aclocal autoconf
20
USE_GCC=	yes
28
USE_GCC=	yes
21
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
22
ALL_TARGET=	# empty
30
ALL_TARGET=	# empty
Lines 24-33 Link Here
24
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
25
CONFIGURE_ARGS=	--enable-shared
33
CONFIGURE_ARGS=	--enable-shared
26
34
27
post-patch:
28
	@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
29
		${WRKSRC}/src/lib/MakeVars.in
30
31
post-install:
35
post-install:
32
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
36
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
33
37
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libint-1.1.4.tar.gz) = f67b13bdf1135ecc93b4cff961c1ff33614d9f8409726ddc8451803776885cff
1
SHA256 (evaleev-libint-1.1.6-0e0ffa7_GH0.tar.gz) = ccd034298a05ae007429d722368aa7075d00db9c1caac7c450a0eeeb9b1dcce6
2
SIZE (libint-1.1.4.tar.gz) = 350252
2
SIZE (evaleev-libint-1.1.6-0e0ffa7_GH0.tar.gz) = 256384
(-)files/patch-configure.in (+29 lines)
Line 0 Link Here
1
--- configure.in.orig	2014-03-05 18:27:30 UTC
2
+++ configure.in
3
@@ -17,6 +17,26 @@ AC_SET_MAKE
4
 AC_DEFINE_UNQUOTED(HOST_ARCH, "$host")
5
 AC_DEFINE_UNQUOTED(TARGET_ARCH, "$target")
6
 
7
+AC_DEFINE([HOST_ARCH], [], [Description])
8
+AC_DEFINE([INCLUDE_DERIV], [], [Description])
9
+AC_DEFINE([INCLUDE_R12], [], [Description])
10
+AC_DEFINE([LIBDERIV_MAX_AM1], [], [Description])
11
+AC_DEFINE([LIBDERIV_MAX_AM12], [], [Description])
12
+AC_DEFINE([LIBDERIV_MAX_AM2], [], [Description])
13
+AC_DEFINE([LIBINT_BUILDID], [], [Description])
14
+AC_DEFINE([LIBINT_MAJOR_VERSION], [], [Description])
15
+AC_DEFINE([LIBINT_MAX_AM], [], [Description])
16
+AC_DEFINE([LIBINT_MAX_CLASS_SIZE], [], [Description])
17
+AC_DEFINE([LIBINT_MICRO_VERSION], [], [Description])
18
+AC_DEFINE([LIBINT_MINOR_VERSION], [], [Description])
19
+AC_DEFINE([LIBINT_OPT_AM], [], [Description])
20
+AC_DEFINE([LIBINT_VERSION], [], [Description])
21
+AC_DEFINE([LIBR12_MAX_AM], [], [Description])
22
+AC_DEFINE([LIBR12_MAX_CLASS_SIZE], [], [Description])
23
+AC_DEFINE([LIBR12_OPT_AM], [], [Description])
24
+AC_DEFINE([LONG_DOUBLE], [], [Description])
25
+AC_DEFINE([TARGET_ARCH], [], [Description])
26
+
27
 define([default_prefix_dash],ifelse(libint_buildid, ,[],[-]))
28
 define([default_prefix],"/usr/local")
29
 

Return to bug 201267