svn commit: r478324 - head/science/libint

Sergey A. Osokin osa at FreeBSD.org
Tue Aug 28 18:53:43 UTC 2018


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


More information about the svn-ports-all mailing list