science/libint: Add STATIC option that keeps static libs

Requested by:	osa
This commit is contained in:
Yuri Victorovich 2018-08-28 16:12:12 +00:00
parent 6cc14cf038
commit d09dc579d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478324
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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