mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[geos,libspatialite] Fix various quirks (#35574)
* [geos] Fix geos-config * [libspatialite] Fix quirks
This commit is contained in:
parent
e02cf959d2
commit
603643dcbf
@ -66,11 +66,11 @@ index 6eff1eb14..8827f6ac6 100644
|
||||
;;
|
||||
--static-clibs)
|
||||
- echo -L${libdir} -lgeos_c -lgeos -lstdc++ -lm
|
||||
+ echo -L${libdir} -lgeos_c -lgeos -lstdc++ @EXTRA_LIBS@
|
||||
+ echo -L${libdir} -lgeos_c -lgeos @EXTRA_LIBS@
|
||||
;;
|
||||
--static-cclibs)
|
||||
- echo -L${libdir} -lgeos -lstdc++ -lm
|
||||
+ echo -L${libdir} -lgeos -lstdc++ @EXTRA_LIBS@
|
||||
+ echo -L${libdir} -lgeos @EXTRA_LIBS@
|
||||
;;
|
||||
--cflags)
|
||||
echo -I${includedir}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "geos",
|
||||
"version": "3.11.3",
|
||||
"port-version": 1,
|
||||
"description": "Geometry Engine Open Source",
|
||||
"homepage": "https://libgeos.org/",
|
||||
"license": "LGPL-2.1-only",
|
||||
|
@ -19,7 +19,6 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS unused
|
||||
FEATURES
|
||||
freexl ENABLE_FREEXL
|
||||
gcp ENABLE_GCP
|
||||
geocallbacks ENABLE_GEOCALLBACKS
|
||||
rttopo ENABLE_RTTOPO
|
||||
)
|
||||
|
||||
@ -39,9 +38,6 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
if(ENABLE_GCP)
|
||||
string(APPEND CL_FLAGS " /DENABLE_GCP")
|
||||
endif()
|
||||
if(NOT ENABLE_GEOCALLBACKS)
|
||||
string(APPEND CL_FLAGS " /DOMIT_GEOCALLBACKS")
|
||||
endif()
|
||||
if(ENABLE_RTTOPO)
|
||||
string(APPEND CL_FLAGS " /DENABLE_RTTOPO")
|
||||
endif()
|
||||
@ -184,10 +180,10 @@ else()
|
||||
${TARGET_ALIAS}
|
||||
${FREEXL_OPTION}
|
||||
${GCP_OPTION}
|
||||
${GEOCALLBACKS_OPTION}
|
||||
${RTTOPO_OPTION}
|
||||
"--disable-examples"
|
||||
"--disable-minizip"
|
||||
"cross_compiling=yes" # avoid conftest rpath trouble
|
||||
OPTIONS_DEBUG
|
||||
"LIBS=${PKGCONFIG_LIBS_DEBUG} ${SYSTEM_LIBS}"
|
||||
OPTIONS_RELEASE
|
||||
|
@ -1,14 +1,16 @@
|
||||
{
|
||||
"name": "libspatialite",
|
||||
"version": "5.1.0",
|
||||
"port-version": 1,
|
||||
"description": "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.",
|
||||
"homepage": "https://www.gaia-gis.it/gaia-sins/libspatialite-sources",
|
||||
"homepage": "https://www.gaia-gis.it/fossil/libspatialite/index",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
"geos",
|
||||
"libiconv",
|
||||
{
|
||||
"name": "libxml2",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"http"
|
||||
]
|
||||
@ -28,8 +30,7 @@
|
||||
"zlib"
|
||||
],
|
||||
"default-features": [
|
||||
"freexl",
|
||||
"geocallbacks"
|
||||
"freexl"
|
||||
],
|
||||
"features": {
|
||||
"freexl": {
|
||||
@ -41,9 +42,6 @@
|
||||
"gcp": {
|
||||
"description": "Ground control points support. This feature reduces the license options to GPLv2+."
|
||||
},
|
||||
"geocallbacks": {
|
||||
"description": "Geometry callbacks support."
|
||||
},
|
||||
"rttopo": {
|
||||
"description": "RTTOPO support. This feature reduces the license options to GPLv2+.",
|
||||
"dependencies": [
|
||||
|
@ -2914,7 +2914,7 @@
|
||||
},
|
||||
"geos": {
|
||||
"baseline": "3.11.3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"geotrans": {
|
||||
"baseline": "3.9",
|
||||
@ -4834,7 +4834,7 @@
|
||||
},
|
||||
"libspatialite": {
|
||||
"baseline": "5.1.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libspnav": {
|
||||
"baseline": "0.2.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "41bb89a641e2fd76a21cdf259893ef3ab187aeaf",
|
||||
"version": "3.11.3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "74ed7ac2ba209cbd984174705b2e3fc7fcf99e9a",
|
||||
"version": "3.11.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "583ff9e938f0ca09b16f01fc5fb228b42dc13c7a",
|
||||
"version": "5.1.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "6c988a575680cb06fded62a1f63d43426d683dfd",
|
||||
"version": "5.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user