pkgsrc-WIP-changes archive

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

rakudo: Fix part of the PLIST.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Dec 28 22:42:59 2015 +0100
Changeset:	5af50b016624a355701bd30f17139eb686049637

Modified Files:
	rakudo/Makefile
	rakudo/PLIST

Log Message:
rakudo: Fix part of the PLIST.

Still major diffs in share/perl6/sources.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5af50b016624a355701bd30f17139eb686049637

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rakudo/Makefile | 8 ++++++++
 rakudo/PLIST    | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diffs:
diff --git a/rakudo/Makefile b/rakudo/Makefile
index 78f7612..7ac01aa 100644
--- a/rakudo/Makefile
+++ b/rakudo/Makefile
@@ -20,6 +20,14 @@ CONFIG_SHELL=		${PERL5}
 CONFIGURE_SCRIPT=	Configure.pl
 CONFIGURE_ARGS=		--prefix=${PREFIX:Q} --backends=moar
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+=	EXT=dylib
+.else
+PLIST_SUBST+=	EXT=so
+.endif
+
 post-install:
 	${RM} -rf ${DESTDIR}${PREFIX}/share/perl6/precomp/*
 
diff --git a/rakudo/PLIST b/rakudo/PLIST
index 053a0cd..d110073 100644
--- a/rakudo/PLIST
+++ b/rakudo/PLIST
@@ -19,7 +19,7 @@ share/perl6/precomp/.lock
 share/perl6/repo.lock
 share/perl6/runtime/CORE.setting.moarvm
 share/perl6/runtime/RESTRICTED.setting.moarvm
-share/perl6/runtime/dynext/libperl6_ops_moar.dylib
+share/perl6/runtime/dynext/libperl6_ops_moar.${EXT}
 share/perl6/runtime/perl6-debug.moarvm
 share/perl6/runtime/perl6.moarvm
 share/perl6/short/0D7FDBBC72083980348BED148BF46BD198D51DE8


Home | Main Index | Thread Index | Old Index