pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/zziplib



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jan 13 08:50:21 UTC 2021

Modified Files:
        pkgsrc/archivers/zziplib: Makefile PLIST

Log Message:
Fix PLIST in the dylib case.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/archivers/zziplib/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/archivers/zziplib/PLIST

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

Modified files:

Index: pkgsrc/archivers/zziplib/Makefile
diff -u pkgsrc/archivers/zziplib/Makefile:1.27 pkgsrc/archivers/zziplib/Makefile:1.28
--- pkgsrc/archivers/zziplib/Makefile:1.27      Mon Jan 11 22:41:56 2021
+++ pkgsrc/archivers/zziplib/Makefile   Wed Jan 13 08:50:21 2021
@@ -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 @@ CMAKE_ARGS+= -DZZIPTEST=NO
 
 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"

Index: pkgsrc/archivers/zziplib/PLIST
diff -u pkgsrc/archivers/zziplib/PLIST:1.9 pkgsrc/archivers/zziplib/PLIST:1.10
--- pkgsrc/archivers/zziplib/PLIST:1.9  Mon Jan 11 22:41:56 2021
+++ pkgsrc/archivers/zziplib/PLIST      Wed Jan 13 08:50:21 2021
@@ -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/zzip.h
 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