Date: Tue, 28 Aug 2018 18:53:43 +0000 From: "Sergey A. Osokin" <osa@FreeBSD.org> To: Yuri Victorovich <yuri@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r478324 - head/science/libint Message-ID: <20180828185343.GG30926@FreeBSD.org> In-Reply-To: <201808281612.w7SGCDaT036533@repo.freebsd.org> References: <201808281612.w7SGCDaT036533@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Yuri! On Tue, Aug 28, 2018 at 04:12:13PM +0000, Yuri Victorovich wrote: > Author: yuri > Date: Tue Aug 28 16:12:12 2018 > New Revision: 478324 > URL: https://svnweb.freebsd.org/changeset/ports/478324 > > Log: > science/libint: Add STATIC option that keeps static libs > > Requested by: osa > > Modified: > head/science/libint/Makefile > head/science/libint/pkg-plist > > Modified: head/science/libint/Makefile > ============================================================================== > --- head/science/libint/Makefile Tue Aug 28 15:46:05 2018 (r478323) > +++ head/science/libint/Makefile Tue Aug 28 16:12:12 2018 (r478324) > @@ -4,6 +4,7 @@ > PORTNAME= libint > DISTVERSIONPREFIX= release- > DISTVERSION= 1-2-1 > +PORTREVISION= 1 > CATEGORIES= science > > MAINTAINER= yuri@FreeBSD.org > @@ -19,8 +20,12 @@ 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' \ > > Modified: head/science/libint/pkg-plist > ============================================================================== > --- head/science/libint/pkg-plist Tue Aug 28 15:46:05 2018 (r478323) > +++ head/science/libint/pkg-plist Tue Aug 28 16:12:12 2018 (r478324) > @@ -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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180828185343.GG30926>