aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorIlya Arzhannikov <iarzhannikov@artec-group.com>2021-04-07 22:03:53 +0200
committerGitHub <noreply@github.com>2021-04-07 13:03:53 -0700
commit3c21d6fa7eaf35f70a63894e4e2e9d5a8c6dce8c (patch)
tree92830839c8d8dec1488eec3b7fe27a9d9fe6b484 /ports
parentf716880bf61c731d85040e09190ee3a7e55185e4 (diff)
downloadvcpkg-3c21d6fa7eaf35f70a63894e4e2e9d5a8c6dce8c.tar.gz
vcpkg-3c21d6fa7eaf35f70a63894e4e2e9d5a8c6dce8c.zip
Libspatialite remove cflags from vcpkg_configure_make options (#17024)
* remove CFLAGS from options * x-add-version libspatialite Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/libspatialite/CONTROL3
-rw-r--r--ports/libspatialite/portfile.cmake3
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/libspatialite/CONTROL b/ports/libspatialite/CONTROL
index 0fbb05f8b..6ab4b3f4f 100644
--- a/ports/libspatialite/CONTROL
+++ b/ports/libspatialite/CONTROL
@@ -1,5 +1,6 @@
Source: libspatialite
Version: 5.0.0
+Port-Version: 1
Homepage: https://www.gaia-gis.it/gaia-sins/libspatialite-sources
Description: SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.
-Build-Depends: libxml2, sqlite3, geos, proj4, zlib, freexl, libiconv, librttopo \ No newline at end of file
+Build-Depends: libxml2, sqlite3, geos, proj4, zlib, freexl, libiconv, librttopo
diff --git a/ports/libspatialite/portfile.cmake b/ports/libspatialite/portfile.cmake
index fff7d69c7..84c49da3a 100644
--- a/ports/libspatialite/portfile.cmake
+++ b/ports/libspatialite/portfile.cmake
@@ -105,7 +105,6 @@ elseif (VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX) # Build in UNIX
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
OPTIONS
- "CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
"LIBS=-lpthread -ldl -lm -l${STDLIB}"
"LIBXML2_CFLAGS=-I\"${CURRENT_INSTALLED_DIR}/include\""
"--enable-rttopo"
@@ -124,4 +123,4 @@ elseif (VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX) # Build in UNIX
endif()
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)