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:   otis
Date:           Tue Jan 12 21:06:20 UTC 2021

Modified Files:
        pkgsrc/archivers/zziplib: distinfo
Added Files:
        pkgsrc/archivers/zziplib/patches: patch-zzip_CMakeLists.txt
            patch-zzipwrap_CMakeLists.txt

Log Message:
archivers/zziplib: Fix build on SmartOS

Use portable switches to `ln'


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/archivers/zziplib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/archivers/zziplib/patches/patch-zzip_CMakeLists.txt \
    pkgsrc/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt

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/distinfo
diff -u pkgsrc/archivers/zziplib/distinfo:1.19 pkgsrc/archivers/zziplib/distinfo:1.20
--- pkgsrc/archivers/zziplib/distinfo:1.19      Mon Jan 11 22:41:56 2021
+++ pkgsrc/archivers/zziplib/distinfo   Tue Jan 12 21:06:20 2021
@@ -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

Added files:

Index: pkgsrc/archivers/zziplib/patches/patch-zzip_CMakeLists.txt
diff -u /dev/null pkgsrc/archivers/zziplib/patches/patch-zzip_CMakeLists.txt:1.1
--- /dev/null   Tue Jan 12 21:06:20 2021
+++ pkgsrc/archivers/zziplib/patches/patch-zzip_CMakeLists.txt  Tue Jan 12 21:06:20 2021
@@ -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)
Index: pkgsrc/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt
diff -u /dev/null pkgsrc/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt:1.1
--- /dev/null   Tue Jan 12 21:06:20 2021
+++ pkgsrc/archivers/zziplib/patches/patch-zzipwrap_CMakeLists.txt      Tue Jan 12 21:06:20 2021
@@ -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