Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 16:12:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478324 - head/science/libint
Message-ID:  <201808281612.w7SGCDaT036533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?201808281612.w7SGCDaT036533>