pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdal-lib: Don't build python bindings
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Wed May 22 20:10:19 2024 -0400
Changeset: b3e7821c71064135d21078a54422058127c06e52
Modified Files:
gdal-lib/Makefile
Log Message:
gdal-lib: Don't build python bindings
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b3e7821c71064135d21078a54422058127c06e52
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdal-lib/Makefile | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diffs:
diff --git a/gdal-lib/Makefile b/gdal-lib/Makefile
index b0cb68f139..cdba1a686e 100644
--- a/gdal-lib/Makefile
+++ b/gdal-lib/Makefile
@@ -22,14 +22,11 @@ USE_PKGLOCALEDIR= yes
# Therefore this package needs revbumping on every geos update.
# To find out what can be set in the cmake build.
-# \todo Hoist to cmake/buidl.mk.
+# \todo Hoist to cmake/build.mk.
cmake-options:
(cd ${WRKSRC}/cmake-pkgsrc-build && cmake -L ..) > OPTIONS
.include "../../devel/cmake/build.mk"
-CMAKE_ARGS+= -DBUILD_PYTHON_BINDINGS=OFF
-CMAKE_ARGS+= -DBUILD_CSHARP_BINDINGS=OFF
-CMAKE_ARGS+= -DBUILD_JAVA_BINDINGS=OFF
# \todo Justify or change to bl3 on json-c
CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_JSONC_INTERNAL=ON
@@ -51,6 +48,17 @@ CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_PCRE2=OFF
CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_POPPLER=OFF
CMAKE_CONFIGURE_ARGS+= -DGDAL_USE_ZSTD=OFF
+# Disable python bindings because it is in ../py-gdal. The reasons
+# are to allow multiple python versions, and to remove the dependency
+# on numpy and hence the need for blas and fortran from the base gdal
+# package.
+CMAKE_ARGS+= -DBUILD_PYTHON_BINDINGS=ON
+
+# Disable things that we don't want to build, more as documentation
+# than them needing to be forced off.
+CMAKE_ARGS+= -DBUILD_CSHARP_BINDINGS=OFF
+CMAKE_ARGS+= -DBUILD_JAVA_BINDINGS=OFF
+
# \todo One would think these are unnnecessary. Check if these
# can/should be dropped. If not, explain why we have some and not
# all. Commented lines are incompletely translated from autoconf,
Home |
Main Index |
Thread Index |
Old Index