diff options
author | otis <otis@pkgsrc.org> | 2021-01-12 21:06:20 +0000 |
---|---|---|
committer | otis <otis@pkgsrc.org> | 2021-01-12 21:06:20 +0000 |
commit | 3afcb30cd9e11b9454140c44720a47640ca87401 (patch) | |
tree | 272011e9c280f34d2a325e3e9dce816ab5d58764 /archivers/zziplib/patches | |
parent | 758441a202fba017cca852b3aba48971f05e27fe (diff) | |
download | pkgsrc-3afcb30cd9e11b9454140c44720a47640ca87401.tar.gz |
archivers/zziplib: Fix build on SmartOS
Use portable switches to `ln'
Diffstat (limited to 'archivers/zziplib/patches')
-rw-r--r-- | archivers/zziplib/patches/patch-zzip_CMakeLists.txt | 78 | ||||
-rw-r--r-- | archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt | 15 |
2 files changed, 93 insertions, 0 deletions
diff --git a/archivers/zziplib/patches/patch-zzip_CMakeLists.txt b/archivers/zziplib/patches/patch-zzip_CMakeLists.txt new file mode 100644 index 00000000000..be83d101747 --- /dev/null +++ b/archivers/zziplib/patches/patch-zzip_CMakeLists.txt @@ -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 --git a/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt b/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt new file mode 100644 index 00000000000..14d9e2b4614 --- /dev/null +++ b/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt @@ -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() |