diff --git a/science/libint/Makefile b/science/libint/Makefile index f74665f8b401..40f6c205ebbe 100644 --- a/science/libint/Makefile +++ b/science/libint/Makefile @@ -4,6 +4,7 @@ PORTNAME= libint DISTVERSIONPREFIX= release- DISTVERSION= 1-2-1 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -19,9 +20,13 @@ USE_LDCONFIG= yes ALL_TARGET= default GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --disable-static --with-cc-optflags="${CFLAGS}" \ +CONFIGURE_ARGS= --enable-shared --with-cc-optflags="${CFLAGS}" \ --with-cxx-optflags="${CXXFLAGS}" +OPTIONS_DEFINE= STATIC # osa@ requested to keep static libs on 2018/08/28 +OPTIONS_SUB= yes +STATIC_CONFIGURE_ENABLE= static + post-patch: @${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \ ${WRKSRC}/src/lib/MakeVars.in diff --git a/science/libint/pkg-plist b/science/libint/pkg-plist index c8d50f920b18..e29085e6d0f7 100644 --- a/science/libint/pkg-plist +++ b/science/libint/pkg-plist @@ -3,12 +3,15 @@ include/libint/hrr_header.h include/libint/libint.h include/libint/vrr_header.h include/libr12/libr12.h +%%STATIC%%lib/libderiv.a lib/libderiv.so lib/libderiv.so.1 lib/libderiv.so.1.0.0 +%%STATIC%%lib/libint.a lib/libint.so lib/libint.so.1 lib/libint.so.1.0.0 +%%STATIC%%lib/libr12.a lib/libr12.so lib/libr12.so.1 lib/libr12.so.1.0.0