pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-Xapian Parameterize loadable module extens...
details: https://anonhg.NetBSD.org/pkgsrc/rev/29acc2fbe626
branches: trunk
changeset: 312669:29acc2fbe626
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Sep 10 10:30:06 2018 +0000
description:
Parameterize loadable module extension. Should fix packaging on non-Darwin.
diffstat:
textproc/p5-Xapian/Makefile | 11 ++++++++++-
textproc/p5-Xapian/PLIST | 4 ++--
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 496f68c2fb52 -r 29acc2fbe626 textproc/p5-Xapian/Makefile
--- a/textproc/p5-Xapian/Makefile Mon Sep 10 10:24:36 2018 +0000
+++ b/textproc/p5-Xapian/Makefile Mon Sep 10 10:30:06 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/08/26 13:25:33 schmonz Exp $
+# $NetBSD: Makefile,v 1.4 2018/09/10 10:30:06 schmonz Exp $
PKGNAME= p5-${PKGNAME_MODULE:S/^x/X/}
COMMENT= Perl bindings for Xapian search engine
@@ -12,6 +12,15 @@
REPLACE_PERL= perl/docs/examples/*.pl
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+PERL_DLEXT= bundle
+.else
+PERL_DLEXT= so
+.endif
+PLIST_SUBST+= PERL_DLEXT=${PERL_DLEXT}
+
post-install:
${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/perl/examples/*.pl
diff -r 496f68c2fb52 -r 29acc2fbe626 textproc/p5-Xapian/PLIST
--- a/textproc/p5-Xapian/PLIST Mon Sep 10 10:24:36 2018 +0000
+++ b/textproc/p5-Xapian/PLIST Mon Sep 10 10:30:06 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/07/06 16:23:11 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/09/10 10:30:06 schmonz Exp $
${PERL5_SUB_INSTALLVENDORLIB}/Xapian.pm
${PERL5_SUB_INSTALLVENDORLIB}/Xapian/AssertionError.pm
${PERL5_SUB_INSTALLVENDORLIB}/Xapian/BM25Weight.pm
@@ -47,7 +47,7 @@
${PERL5_SUB_INSTALLVENDORLIB}/Xapian/Weight.pm
${PERL5_SUB_INSTALLVENDORLIB}/Xapian/WritableDatabase.pm
${PERL5_SUB_INSTALLVENDORARCH}/auto/Xapian/Xapian.a
-${PERL5_SUB_INSTALLVENDORARCH}/auto/Xapian/Xapian.bundle
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Xapian/Xapian.${PERL_DLEXT}
share/doc/xapian-bindings/perl/examples/full-indexer.pl
share/doc/xapian-bindings/perl/examples/full-searcher.pl
share/doc/xapian-bindings/perl/examples/simpleexpand.pl
Home |
Main Index |
Thread Index |
Old Index