aboutsummaryrefslogtreecommitdiff
path: root/ports/libspatialite
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libspatialite')
-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)