pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/p5-Xapian



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Sep 10 10:30:06 UTC 2018

Modified Files:
        pkgsrc/textproc/p5-Xapian: Makefile PLIST

Log Message:
Parameterize loadable module extension. Should fix packaging on non-Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/p5-Xapian/Makefile \
    pkgsrc/textproc/p5-Xapian/PLIST

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

Modified files:

Index: pkgsrc/textproc/p5-Xapian/Makefile
diff -u pkgsrc/textproc/p5-Xapian/Makefile:1.3 pkgsrc/textproc/p5-Xapian/Makefile:1.4
--- pkgsrc/textproc/p5-Xapian/Makefile:1.3      Sun Aug 26 13:25:33 2018
+++ pkgsrc/textproc/p5-Xapian/Makefile  Mon Sep 10 10:30:06 2018
@@ -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 @@ CONFIGURE_ENV+=              PERL_LIB=${PERL5_INSTAL
 
 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
 
Index: pkgsrc/textproc/p5-Xapian/PLIST
diff -u pkgsrc/textproc/p5-Xapian/PLIST:1.3 pkgsrc/textproc/p5-Xapian/PLIST:1.4
--- pkgsrc/textproc/p5-Xapian/PLIST:1.3 Fri Jul  6 16:23:11 2018
+++ pkgsrc/textproc/p5-Xapian/PLIST     Mon Sep 10 10:30:06 2018
@@ -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/Val
 ${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