mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[libpq] Remove broken features (#12415)
* [libpq] Remove broken features * Update ports/libpq/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
This commit is contained in:
parent
9668eea2b4
commit
bad319d271
@ -1,6 +1,6 @@
|
|||||||
Source: libpq
|
Source: libpq
|
||||||
Version: 12.2
|
Version: 12.2
|
||||||
Port-Version: 4
|
Port-Version: 5
|
||||||
Build-Depends: libpq[bonjour] (osx)
|
Build-Depends: libpq[bonjour] (osx)
|
||||||
Supports: !uwp
|
Supports: !uwp
|
||||||
Homepage: https://www.postgresql.org/
|
Homepage: https://www.postgresql.org/
|
||||||
@ -23,10 +23,6 @@ Feature: libedit
|
|||||||
Build-Depends: libedit
|
Build-Depends: libedit
|
||||||
Description: prefer libedit (--with-libedit-preferred)
|
Description: prefer libedit (--with-libedit-preferred)
|
||||||
|
|
||||||
Feature: perl
|
|
||||||
Build-Depends: perl, libpq[core,client]
|
|
||||||
Description: build the server programming language PL/Perl (dynamic only?) (--with-perl)
|
|
||||||
|
|
||||||
Feature: python
|
Feature: python
|
||||||
Build-Depends: python3, libpq[core,client]
|
Build-Depends: python3, libpq[core,client]
|
||||||
Description: build the PL/Python server programming language (dynamic only?) (--with-python)
|
Description: build the PL/Python server programming language (dynamic only?) (--with-python)
|
||||||
@ -39,25 +35,9 @@ Feature: nls
|
|||||||
Build-Depends: gettext
|
Build-Depends: gettext
|
||||||
Description: Native Language Support (--enable-nls[=LANGUAGES])
|
Description: Native Language Support (--enable-nls[=LANGUAGES])
|
||||||
|
|
||||||
Feature: kerberos
|
|
||||||
Build-Depends: kerberos
|
|
||||||
Description: Kerberos Support (--with-gssapi)
|
|
||||||
|
|
||||||
Feature: systemd
|
Feature: systemd
|
||||||
Description: Build with support for systemd service notifications. (--with-systemd)
|
Description: Build with support for systemd service notifications. (--with-systemd)
|
||||||
|
|
||||||
Feature: ldap
|
|
||||||
Build-Depends: openldap (linux)
|
|
||||||
Description: LDAP Support (--with-ldap)
|
|
||||||
|
|
||||||
Feature: bsd
|
|
||||||
Build-Depends: openbsd
|
|
||||||
Description: OpenBSD Support (--with-bsd-auth)
|
|
||||||
|
|
||||||
Feature: pam
|
|
||||||
Build-Depends: pam
|
|
||||||
Description: Build with PAM (Pluggable Authentication Modules) support. (--with-pam)
|
|
||||||
|
|
||||||
Feature: llvm
|
Feature: llvm
|
||||||
Build-Depends: llvm
|
Build-Depends: llvm
|
||||||
Description: Build with support for LLVM based JIT compilation (--with-llvm)
|
Description: Build with support for LLVM based JIT compilation (--with-llvm)
|
||||||
|
@ -18,13 +18,13 @@ endmacro()
|
|||||||
|
|
||||||
if(VCPKG_TARGET_IS_WINDOWS)
|
if(VCPKG_TARGET_IS_WINDOWS)
|
||||||
# on windows libpq seems to only depend on openssl gss(kerberos) and ldap on the soruce site_name
|
# on windows libpq seems to only depend on openssl gss(kerberos) and ldap on the soruce site_name
|
||||||
# the configuration header depends on zlib, nls, ldap, uuid, xml, xlst,gss,openssl,icu
|
# the configuration header depends on zlib, nls, uuid, xml, xlst,gss,openssl,icu
|
||||||
feature_unsupported(readline bonjour libedit kerberos bsd systemd llvm pam)
|
feature_unsupported(readline bonjour libedit systemd llvm)
|
||||||
feature_not_implemented_yet(perl uuid)
|
feature_not_implemented_yet(uuid)
|
||||||
elseif(VCPKG_TARGET_IS_OSX)
|
elseif(VCPKG_TARGET_IS_OSX)
|
||||||
feature_not_implemented_yet(readline libedit kerberos bsd systemd llvm pam perl python tcl uuid)
|
feature_not_implemented_yet(readline libedit systemd llvm python tcl uuid)
|
||||||
else()
|
else()
|
||||||
feature_not_implemented_yet(readline bonjour libedit kerberos bsd systemd llvm pam perl python tcl uuid)
|
feature_not_implemented_yet(readline bonjour libedit systemd llvm python tcl uuid)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
## Download and extract sources
|
## Download and extract sources
|
||||||
@ -128,14 +128,14 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
|||||||
set(CONFIG_FILE "${BUILDPATH_${_buildtype}}/src/tools/msvc/config.pl")
|
set(CONFIG_FILE "${BUILDPATH_${_buildtype}}/src/tools/msvc/config.pl")
|
||||||
file(READ "${CONFIG_FILE}" _contents)
|
file(READ "${CONFIG_FILE}" _contents)
|
||||||
|
|
||||||
## ldap => undef, # --with-ldap ##done
|
## ldap => undef, # --with-ldap
|
||||||
## extraver => undef, # --with-extra-version=<string>
|
## extraver => undef, # --with-extra-version=<string>
|
||||||
## gss => undef, # --with-gssapi=<path>
|
## gss => undef, # --with-gssapi=<path>
|
||||||
## icu => undef, # --with-icu=<path> ##done
|
## icu => undef, # --with-icu=<path> ##done
|
||||||
## nls => undef, # --enable-nls=<path> ##done
|
## nls => undef, # --enable-nls=<path> ##done
|
||||||
## tap_tests => undef, # --enable-tap-tests
|
## tap_tests => undef, # --enable-tap-tests
|
||||||
## tcl => undef, # --with-tcl=<path> #done
|
## tcl => undef, # --with-tcl=<path> #done
|
||||||
## perl => undef, # --with-perl # requires a patch to the lib path and a port for it
|
## perl => undef, # --with-perl
|
||||||
## python => undef, # --with-python=<path> ##done
|
## python => undef, # --with-python=<path> ##done
|
||||||
## openssl => undef, # --with-openssl=<path> ##done
|
## openssl => undef, # --with-openssl=<path> ##done
|
||||||
## uuid => undef, # --with-ossp-uuid
|
## uuid => undef, # --with-ossp-uuid
|
||||||
@ -145,10 +145,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
|||||||
## zlib => undef # --with-zlib=<path> ##done
|
## zlib => undef # --with-zlib=<path> ##done
|
||||||
|
|
||||||
## Setup external dependencies
|
## Setup external dependencies
|
||||||
##"-DFEATURES=core;openssl;zlib" "-DALL_FEATURES=openssl;zlib;readline;libedit;perl;python;tcl;nls;kerberos;systemd;ldap;bsd;pam;llvm;icu;bonjour;uuid;xml;xslt;"
|
##"-DFEATURES=core;openssl;zlib" "-DALL_FEATURES=openssl;zlib;readline;libedit;python;tcl;nls;systemd;llvm;icu;bonjour;uuid;xml;xslt;"
|
||||||
if("${FEATURES}" MATCHES "ldap")
|
|
||||||
string(REPLACE "ldap => undef" "ldap => 1" _contents "${_contents}")
|
|
||||||
endif()
|
|
||||||
if("${FEATURES}" MATCHES "icu")
|
if("${FEATURES}" MATCHES "icu")
|
||||||
string(REPLACE "icu => undef" "icu => \"${CURRENT_INSTALLED_DIR}\"" _contents "${_contents}")
|
string(REPLACE "icu => undef" "icu => \"${CURRENT_INSTALLED_DIR}\"" _contents "${_contents}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user