pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/laszip



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Aug 31 10:03:15 UTC 2023

Modified Files:
        pkgsrc/geography/laszip: Makefile distinfo
Added Files:
        pkgsrc/geography/laszip/patches: patch-cmake_macros.cmake

Log Message:
laszip: fix library name on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/geography/laszip/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/laszip/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/geography/laszip/patches/patch-cmake_macros.cmake

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

Modified files:

Index: pkgsrc/geography/laszip/Makefile
diff -u pkgsrc/geography/laszip/Makefile:1.1 pkgsrc/geography/laszip/Makefile:1.2
--- pkgsrc/geography/laszip/Makefile:1.1        Mon May 17 10:01:31 2021
+++ pkgsrc/geography/laszip/Makefile    Thu Aug 31 10:03:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/05/17 10:01:31 thor Exp $
+# $NetBSD: Makefile,v 1.2 2023/08/31 10:03:14 adam Exp $
 
 DISTNAME=      laszip-src-3.4.3
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -12,7 +12,7 @@ HOMEPAGE=     https://laszip.org/
 COMMENT=       Free and lossless LiDAR compression
 LICENSE=       gnu-lgpl-v2.1
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/geography/laszip/distinfo
diff -u pkgsrc/geography/laszip/distinfo:1.3 pkgsrc/geography/laszip/distinfo:1.4
--- pkgsrc/geography/laszip/distinfo:1.3        Tue Oct 26 10:45:10 2021
+++ pkgsrc/geography/laszip/distinfo    Thu Aug 31 10:03:14 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:45:10 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/08/31 10:03:14 adam Exp $
 
 BLAKE2s (laszip-src-3.4.3.tar.gz) = 95903e791a0b4a6983abb2fadc4f5b240693a87223b0a79db9e801438e18ff9c
 SHA512 (laszip-src-3.4.3.tar.gz) = 52033d4e271a75f77de9f112e034ff080e476c0d117010136088b255323e4542550c0fa4f87d86521959787919ca3c7e49ef8c8975ba8f8239799a4d7f34d53f
 Size (laszip-src-3.4.3.tar.gz) = 219534 bytes
+SHA1 (patch-cmake_macros.cmake) = 21ec51be44c85a5b834833550b99f4d80fbd0b12

Added files:

Index: pkgsrc/geography/laszip/patches/patch-cmake_macros.cmake
diff -u /dev/null pkgsrc/geography/laszip/patches/patch-cmake_macros.cmake:1.1
--- /dev/null   Thu Aug 31 10:03:15 2023
+++ pkgsrc/geography/laszip/patches/patch-cmake_macros.cmake    Thu Aug 31 10:03:14 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmake_macros.cmake,v 1.1 2023/08/31 10:03:14 adam Exp $
+
+Fix library name on Darwin.
+
+--- cmake/macros.cmake.orig    2023-08-31 09:59:47.000000000 +0000
++++ cmake/macros.cmake
+@@ -70,7 +70,7 @@ macro(LASZIP_ADD_LIBRARY _name)
+         RUNTIME DESTINATION ${LASZIP_BIN_INSTALL_DIR}
+         LIBRARY DESTINATION ${LASZIP_LIB_INSTALL_DIR}
+         ARCHIVE DESTINATION ${LASZIP_LIB_INSTALL_DIR})
+-    if (APPLE)
++    if (FALSE)
+         set_target_properties(${_name} PROPERTIES INSTALL_NAME_DIR
+             "@executable_path/../lib")
+     endif()



Home | Main Index | Thread Index | Old Index