From 9994df473ddc77c42f7e11f2c3ae0c072b93756d Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 28 Sep 2016 09:04:41 +0000 Subject: Handle PLIST difference on Darwin. --- lang/guile20/Makefile | 9 ++++++++- lang/guile20/PLIST | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'lang') 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 -- cgit v1.2.3