Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 18:06:24 +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: r484314 - head/devel/boehm-gc
Message-ID:  <201811061806.wA6I6OG3085213@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov  6 18:06:24 2018
New Revision: 484314
URL: https://svnweb.freebsd.org/changeset/ports/484314

Log:
  devel/boehm-gc: enable static libraries
  
  PR:		230145
  Submitted by:	Greg V <greg@unrelenting.technology>
  Approved by:	yasu@utahime.org (maintainer)

Modified:
  head/devel/boehm-gc/Makefile
  head/devel/boehm-gc/pkg-plist

Modified: head/devel/boehm-gc/Makefile
==============================================================================
--- head/devel/boehm-gc/Makefile	Tue Nov  6 17:28:01 2018	(r484313)
+++ head/devel/boehm-gc/Makefile	Tue Nov  6 18:06:24 2018	(r484314)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gc
 PORTVERSION=	7.6.8
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.hboehm.info/gc/gc_source/ \
 		https://github.com/ivmai/bdwgc/releases/download/v${PORTVERSION}/
@@ -28,7 +29,8 @@ CPE_PRODUCT=	garbage_collector
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
-CONFIGURE_ARGS=	--enable-cplusplus --disable-static
+# NOTE: do not --disable-static, static is useful for e.g. lang/crystal
+CONFIGURE_ARGS=	--enable-cplusplus
 MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME:C/[a-z]$//}
@@ -41,12 +43,15 @@ CORDLIBS=	cord
 GCLIBS=		gc
 GCCPPLIBS=	gccpp
 PLIST=		${NONEXISTENT}
-PLIST_FILES=	${CORDLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so,} \
+PLIST_FILES=	${CORDLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.a,} \
+		${CORDLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so,} \
 		${CORDLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1,} \
 		${CORDLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1.3.1,} \
+		${GCLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.a,} \
 		${GCLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so,} \
 		${GCLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1,} \
 		${GCLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1.3.4,} \
+		${GCCPPLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.a,} \
 		${GCCPPLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so,} \
 		${GCCPPLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1,} \
 		${GCCPPLIBS:S,^,lib/lib,:S,$,-${GC_VARIANT}.so.1.3.2,} \

Modified: head/devel/boehm-gc/pkg-plist
==============================================================================
--- head/devel/boehm-gc/pkg-plist	Tue Nov  6 17:28:01 2018	(r484313)
+++ head/devel/boehm-gc/pkg-plist	Tue Nov  6 18:06:24 2018	(r484314)
@@ -19,12 +19,15 @@ include/gc/javaxfc.h
 include/gc/leak_detector.h
 include/gc/weakpointer.h
 include/gc_cpp.h
+lib/libcord.a
 lib/libcord.so
 lib/libcord.so.1
 lib/libcord.so.1.3.1
+lib/libgc.a
 lib/libgc.so
 lib/libgc.so.1
 lib/libgc.so.1.3.4
+lib/libgccpp.a
 lib/libgccpp.so
 lib/libgccpp.so.1
 lib/libgccpp.so.1.3.2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811061806.wA6I6OG3085213>