pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/gdal-lib



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May 23 10:02:39 UTC 2025

Modified Files:
        pkgsrc/geography/gdal-lib: Makefile PLIST

Log Message:
gdal-lib: Fix PLIST on big endian systems.


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 pkgsrc/geography/gdal-lib/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/geography/gdal-lib/PLIST

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

Modified files:

Index: pkgsrc/geography/gdal-lib/Makefile
diff -u pkgsrc/geography/gdal-lib/Makefile:1.187 pkgsrc/geography/gdal-lib/Makefile:1.188
--- pkgsrc/geography/gdal-lib/Makefile:1.187    Sat May 10 11:38:35 2025
+++ pkgsrc/geography/gdal-lib/Makefile  Fri May 23 10:02:39 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.187 2025/05/10 11:38:35 gdt Exp $
+# $NetBSD: Makefile,v 1.188 2025/05/23 10:02:39 nia Exp $
 
 .include "../../geography/gdal-lib/Makefile.common"
 PKGNAME=       ${DISTNAME:S/gdal/gdal-lib/}
@@ -80,6 +80,18 @@ CHECK_PORTABILITY_SKIP+=     mkbindist.sh
 
 INSTALLATION_DIRS=     bin include lib ${PKGMANDIR}/man1 share/gdal
 
+PLIST_VARS+=   le
+
+.include "../../mk/endian.mk"
+
+# In ogr/ogrsf_frmts/CMakeLists.txt, the building of the miramon
+# sub-system is dependent on "NOT WORDS_BIGENDIAN".
+PRINT_PLIST_AWK+=      /MM_m_idofic.csv/ { print "$${PLIST.le}" $$0; next }
+
+.if ${MACHINE_ENDIAN} != "big"
+PLIST.le=      yes
+.endif
+
 # \todo: Support geopdf by including poppler, PoDoFo, or PDFium.
 # https://gdal.org/drivers/raster/pdf.html
 

Index: pkgsrc/geography/gdal-lib/PLIST
diff -u pkgsrc/geography/gdal-lib/PLIST:1.28 pkgsrc/geography/gdal-lib/PLIST:1.29
--- pkgsrc/geography/gdal-lib/PLIST:1.28        Sat May 10 11:38:35 2025
+++ pkgsrc/geography/gdal-lib/PLIST     Fri May 23 10:02:39 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2025/05/10 11:38:35 gdt Exp $
+@comment $NetBSD: PLIST,v 1.29 2025/05/23 10:02:39 nia Exp $
 bin/gdal
 bin/gdal-config
 bin/gdal_contour
@@ -111,7 +111,7 @@ lib/cmake/gdal/GDALConfigVersion.cmake
 lib/gdalplugins/drivers.ini
 lib/libgdal.so
 lib/libgdal.so.37
-lib/libgdal.so.37.3.11.0
+lib/libgdal.so.37.${PKGVERSION}
 lib/pkgconfig/gdal.pc
 man/man1/gdal-config.1
 man/man1/gdal-convert.1
@@ -268,7 +268,7 @@ share/gdal/GDALLogoBW.svg
 share/gdal/GDALLogoColor.svg
 share/gdal/GDALLogoGS.svg
 share/gdal/LICENSE.TXT
-share/gdal/MM_m_idofic.csv
+${PLIST.le}share/gdal/MM_m_idofic.csv
 share/gdal/cubewerx_extra.wkt
 share/gdal/default.rsc
 share/gdal/ecw_cs.wkt



Home | Main Index | Thread Index | Old Index