pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zziplib Fix PLIST in the dylib case.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3995dc56ef75
branches: trunk
changeset: 444788:3995dc56ef75
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Jan 13 08:50:21 2021 +0000
description:
Fix PLIST in the dylib case.
diffstat:
archivers/zziplib/Makefile | 12 +++++++++++-
archivers/zziplib/PLIST | 29 ++++++++++++++++-------------
2 files changed, 27 insertions(+), 14 deletions(-)
diffs (76 lines):
diff -r 45306bc2906e -r 3995dc56ef75 archivers/zziplib/Makefile
--- a/archivers/zziplib/Makefile Wed Jan 13 08:00:29 2021 +0000
+++ b/archivers/zziplib/Makefile Wed Jan 13 08:50:21 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2021/01/11 22:41:56 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2021/01/13 08:50:21 schmonz Exp $
DISTNAME= zziplib-0.13.72
CATEGORIES= archivers
@@ -20,6 +20,16 @@
CHECK_PORTABILITY_SKIP+= old.configure
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= dylib
+.if ${SHLIB_TYPE} == "dylib"
+PLIST.dylib= yes
+PLIST_SUBST+= SOEXT=dylib
+.else
+PLIST_SUBST+= SOEXT=so
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 45306bc2906e -r 3995dc56ef75 archivers/zziplib/PLIST
--- a/archivers/zziplib/PLIST Wed Jan 13 08:00:29 2021 +0000
+++ b/archivers/zziplib/PLIST Wed Jan 13 08:50:21 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2021/01/11 22:41:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/01/13 08:50:21 schmonz Exp $
bin/unzip-mem
bin/unzzip
bin/unzzip-big
@@ -32,25 +32,28 @@
include/zzip/zzip32.h
include/zziplib.h
lib/libzzip-0.so
-lib/libzzip-0.so.10
-lib/libzzip-0.so.11
-lib/libzzip-0.so.12
+lib/libzzip-0.${SOEXT}.10
+lib/libzzip-0.${SOEXT}.11
+lib/libzzip-0.${SOEXT}.12
lib/libzzip-0.so.13
-lib/libzzip-0.so.13.0.72
+lib/libzzip-0.${SOEXT}.13.0.72
+${PLIST.dylib}lib/libzzip-0.13.0.72.dylib
lib/libzzip.so
lib/libzzipfseeko-0.so
-lib/libzzipfseeko-0.so.10
-lib/libzzipfseeko-0.so.11
-lib/libzzipfseeko-0.so.12
+lib/libzzipfseeko-0.${SOEXT}.10
+lib/libzzipfseeko-0.${SOEXT}.11
+lib/libzzipfseeko-0.${SOEXT}.12
lib/libzzipfseeko-0.so.13
-lib/libzzipfseeko-0.so.13.0.72
+lib/libzzipfseeko-0.${SOEXT}.13.0.72
+${PLIST.dylib}lib/libzzipfseeko-0.13.0.72.dylib
lib/libzzipfseeko.so
lib/libzzipmmapped-0.so
-lib/libzzipmmapped-0.so.10
-lib/libzzipmmapped-0.so.11
-lib/libzzipmmapped-0.so.12
+lib/libzzipmmapped-0.${SOEXT}.10
+lib/libzzipmmapped-0.${SOEXT}.11
+lib/libzzipmmapped-0.${SOEXT}.12
lib/libzzipmmapped-0.so.13
-lib/libzzipmmapped-0.so.13.0.72
+lib/libzzipmmapped-0.${SOEXT}.13.0.72
+${PLIST.dylib}lib/libzzipmmapped-0.13.0.72.dylib
lib/libzzipmmapped.so
lib/libzzipwrap-0.so
lib/libzzipwrap-0.so.13
Home |
Main Index |
Thread Index |
Old Index