pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zziplib archivers/zziplib: Fix build on SmartOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c7f90eb347b
branches: trunk
changeset: 444785:9c7f90eb347b
user: otis <otis%pkgsrc.org@localhost>
date: Tue Jan 12 21:06:20 2021 +0000
description:
archivers/zziplib: Fix build on SmartOS
Use portable switches to `ln'
diffstat:
archivers/zziplib/distinfo | 4 +-
archivers/zziplib/patches/patch-zzip_CMakeLists.txt | 78 +++++++++++++++++
archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt | 15 +++
3 files changed, 96 insertions(+), 1 deletions(-)
diffs (114 lines):
diff -r 6bf09e20df39 -r 9c7f90eb347b archivers/zziplib/distinfo
--- a/archivers/zziplib/distinfo Tue Jan 12 18:23:48 2021 +0000
+++ b/archivers/zziplib/distinfo Tue Jan 12 21:06:20 2021 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.19 2021/01/11 22:41:56 wiz Exp $
+$NetBSD: distinfo,v 1.20 2021/01/12 21:06:20 otis Exp $
SHA1 (zziplib-0.13.72.tar.gz) = 330cab1c477196d2d26d30d5f4cb031647fd4597
RMD160 (zziplib-0.13.72.tar.gz) = d1bcdbf0df1e1eb222c31b8d4c659bb1a45744f4
SHA512 (zziplib-0.13.72.tar.gz) = 4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8
Size (zziplib-0.13.72.tar.gz) = 1162175 bytes
+SHA1 (patch-zzip_CMakeLists.txt) = a296d43002028dea734b113432b22d4956bd1247
+SHA1 (patch-zzipwrap_CMakeLists.txt) = 01df91186ccea06fec2a085f440e2151086700df
diff -r 6bf09e20df39 -r 9c7f90eb347b archivers/zziplib/patches/patch-zzip_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zziplib/patches/patch-zzip_CMakeLists.txt Tue Jan 12 21:06:20 2021 +0000
@@ -0,0 +1,78 @@
+$NetBSD: patch-zzip_CMakeLists.txt,v 1.1 2021/01/12 21:06:20 otis Exp $
+
+Use portable ln switches
+
+--- zzip/CMakeLists.txt.orig 2021-01-04 23:05:08.000000000 +0000
++++ zzip/CMakeLists.txt
+@@ -294,13 +294,13 @@ if(ZZIP_COMPAT)
+ fi
+ [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
+ \")")
+ endif()
+ endif()
+@@ -321,13 +321,13 @@ if(ZZIP_LIBTOOL)
+ fi
+ [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
+ \")")
+ if(ZZIPFSEEKO)
+ get_target_property(libname libzzipfseeko OUTPUT_NAME)
+@@ -341,13 +341,13 @@ if(ZZIP_LIBTOOL)
+ fi
+ [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
+ \")")
+ endif(ZZIPFSEEKO)
+ if(ZZIPMMAPPED)
+@@ -362,13 +362,13 @@ if(ZZIP_LIBTOOL)
+ fi
+ [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.10
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.11
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${librelease}${dll}.12
+ \")")
+ endif(ZZIPMMAPPED)
+ endif(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG)
diff -r 6bf09e20df39 -r 9c7f90eb347b archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt Tue Jan 12 21:06:20 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-zzipwrap_CMakeLists.txt,v 1.1 2021/01/12 21:06:20 otis Exp $
+
+Use portable ln switches
+
+--- zzipwrap/CMakeLists.txt.orig 2021-01-04 23:05:08.000000000 +0000
++++ zzipwrap/CMakeLists.txt
+@@ -99,7 +99,7 @@ if(ZZIP_LIBTOOL)
+ cd $DESTDIR/${libdir}
+ [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0
+ echo -n .. Installing: `pwd`
+- ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
++ ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll}
+ \")")
+ endif()
+ endif()
Home |
Main Index |
Thread Index |
Old Index