View | Details | Raw Unified | Return to bug 204179 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+21 lines)
Lines 4-9 Link Here
4
PORTNAME=	libint
4
PORTNAME=	libint
5
DISTVERSIONPREFIX=	release-
5
DISTVERSIONPREFIX=	release-
6
DISTVERSION=	1-1-6
6
DISTVERSION=	1-1-6
7
PORTREVISION=	1
7
CATEGORIES=	science
8
CATEGORIES=	science
8
9
9
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
Lines 15-20 Link Here
15
USE_GITHUB=	yes
16
USE_GITHUB=	yes
16
GH_ACCOUNT=	evaleev
17
GH_ACCOUNT=	evaleev
17
18
19
OPTIONS_DEFINE=	OPTDEBUG DERIV R12
20
21
OPTDEBUG_DESC=		Enable debugging options
22
DERIV_DESC=		Support for 1st- and 2nd-order derivative ERIs
23
R12_DESC=		Support for linear R12 methods integrals
24
18
# USE_GCC=yes is required because libint is used with mpqc which is built
25
# USE_GCC=yes is required because libint is used with mpqc which is built
19
# by gfortran48 (from `lang/gcc') and these two libraries each try to pull
26
# by gfortran48 (from `lang/gcc') and these two libraries each try to pull
20
# in a different version of libgcc_s.so which fails.  Forcing this port to
27
# in a different version of libgcc_s.so which fails.  Forcing this port to
Lines 28-33 Link Here
28
GNU_CONFIGURE=	yes
35
GNU_CONFIGURE=	yes
29
CONFIGURE_ARGS=	--enable-shared
36
CONFIGURE_ARGS=	--enable-shared
30
37
38
.include <bsd.port.options.mk>
39
40
.if ${PORT_OPTIONS:MOPTDEBUG}
41
CONFIGURE_ARGS+=	--enable-debug
42
.endif
43
44
.if ${PORT_OPTIONS:MDERIV}
45
CONFIGURE_ARGS+=	--enable-deriv
46
.endif
47
48
.if ${PORT_OPTIONS:MR12}
49
CONFIGURE_ARGS+=        --enable-r12
50
.endif
51
31
post-patch:
52
post-patch:
32
	@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
53
	@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
33
		${WRKSRC}/src/lib/MakeVars.in
54
		${WRKSRC}/src/lib/MakeVars.in

Return to bug 204179