summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-09-28 09:04:41 +0000
committerjperkin <jperkin@pkgsrc.org>2016-09-28 09:04:41 +0000
commit9994df473ddc77c42f7e11f2c3ae0c072b93756d (patch)
treeac740b5e00fe0fad38ff12ddbbe16b87596bab3f /lang
parent1138b67405492ce424c4cd2db3fe1ffc80e6e679 (diff)
downloadpkgsrc-9994df473ddc77c42f7e11f2c3ae0c072b93756d.tar.gz
Handle PLIST difference on Darwin.
Diffstat (limited to 'lang')
-rw-r--r--lang/guile20/Makefile9
-rw-r--r--lang/guile20/PLIST4
2 files changed, 10 insertions, 3 deletions
diff --git a/lang/guile20/Makefile b/lang/guile20/Makefile
index 1bfbafe68bb..b85111cd3cf 100644
--- a/lang/guile20/Makefile
+++ b/lang/guile20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/09/19 11:21:11 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2016/09/28 09:04:41 jperkin Exp $
DISTNAME= guile-2.0.12
PKGNAME= ${DISTNAME:S/guile/guile20/}
@@ -48,6 +48,13 @@ SUBST_MESSAGE.tools= Fixing path to pkg-config in installed file.
# XXX: less tests would fail if we made libunistring use GNU iconv too
#USE_GNU_ICONV= yes
+OPSYSVARS+= GUILE_LIBNAME
+GUILE_LIBNAME.Darwin= a
+GUILE_LIBNAME.*= so.22.8.0
+
+PLIST_SUBST+= GUILE_LIBNAME=${GUILE_LIBNAME}
+PRINT_PLIST_AWK+= {gsub(/${GUILE_LIBNAME}/, "$${GUILE_LIBNAME}");}
+
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24002
post-configure:
${ECHO} '#define FLEXIBLE_ARRAY_MEMBER /**/' >> ${WRKSRC}/config.h
diff --git a/lang/guile20/PLIST b/lang/guile20/PLIST
index 9982eb403b3..fd5401de333 100644
--- a/lang/guile20/PLIST
+++ b/lang/guile20/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/09/16 06:26:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2016/09/28 09:04:41 jperkin Exp $
bin/guild
bin/guile
bin/guile-config
@@ -391,8 +391,8 @@ lib/guile/2.0/ccache/web/response.go
lib/guile/2.0/ccache/web/server.go
lib/guile/2.0/ccache/web/server/http.go
lib/guile/2.0/ccache/web/uri.go
+lib/libguile-2.0.${GUILE_LIBNAME}-gdb.scm
lib/libguile-2.0.la
-lib/libguile-2.0.so.22.8.0-gdb.scm
lib/libguilereadline-v-18.la
lib/pkgconfig/guile-2.0.pc
${PKGMANDIR}/man1/guile.1