pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/guile20 Handle PLIST difference on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc217b3464dd
branches:  trunk
changeset: 353099:dc217b3464dd
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 28 09:04:41 2016 +0000

description:
Handle PLIST difference on Darwin.

diffstat:

 lang/guile20/Makefile |  9 ++++++++-
 lang/guile20/PLIST    |  4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 7b6fecb158fe -r dc217b3464dd lang/guile20/Makefile
--- a/lang/guile20/Makefile     Wed Sep 28 08:15:40 2016 +0000
+++ b/lang/guile20/Makefile     Wed Sep 28 09:04:41 2016 +0000
@@ -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 @@
 # 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 -r 7b6fecb158fe -r dc217b3464dd lang/guile20/PLIST
--- a/lang/guile20/PLIST        Wed Sep 28 08:15:40 2016 +0000
+++ b/lang/guile20/PLIST        Wed Sep 28 09:04:41 2016 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index