diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-07-15 14:48:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 14:48:22 -0700 |
| commit | bad319d271fa31557aaede98cb0478ced1213952 (patch) | |
| tree | 91ba6fcf1284b02d80e1b68ec247e97fab344815 | |
| parent | 9668eea2b4071da286e503c95b9f6b48e8d938eb (diff) | |
| download | vcpkg-bad319d271fa31557aaede98cb0478ced1213952.tar.gz vcpkg-bad319d271fa31557aaede98cb0478ced1213952.zip | |
[libpq] Remove broken features (#12415)
* [libpq] Remove broken features
* Update ports/libpq/portfile.cmake
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
| -rw-r--r-- | ports/libpq/CONTROL | 22 | ||||
| -rw-r--r-- | ports/libpq/portfile.cmake | 19 |
2 files changed, 9 insertions, 32 deletions
diff --git a/ports/libpq/CONTROL b/ports/libpq/CONTROL index ebf6cb524..cd63f7671 100644 --- a/ports/libpq/CONTROL +++ b/ports/libpq/CONTROL @@ -1,6 +1,6 @@ Source: libpq Version: 12.2 -Port-Version: 4 +Port-Version: 5 Build-Depends: libpq[bonjour] (osx) Supports: !uwp Homepage: https://www.postgresql.org/ @@ -23,10 +23,6 @@ Feature: libedit Build-Depends: libedit 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 Build-Depends: python3, libpq[core,client] Description: build the PL/Python server programming language (dynamic only?) (--with-python) @@ -39,25 +35,9 @@ Feature: nls Build-Depends: gettext Description: Native Language Support (--enable-nls[=LANGUAGES]) -Feature: kerberos -Build-Depends: kerberos -Description: Kerberos Support (--with-gssapi) - Feature: 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 Build-Depends: llvm Description: Build with support for LLVM based JIT compilation (--with-llvm) diff --git a/ports/libpq/portfile.cmake b/ports/libpq/portfile.cmake index 86281f71b..756e20d1b 100644 --- a/ports/libpq/portfile.cmake +++ b/ports/libpq/portfile.cmake @@ -18,13 +18,13 @@ endmacro() if(VCPKG_TARGET_IS_WINDOWS) # 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 - feature_unsupported(readline bonjour libedit kerberos bsd systemd llvm pam) - feature_not_implemented_yet(perl uuid) + # the configuration header depends on zlib, nls, uuid, xml, xlst,gss,openssl,icu + feature_unsupported(readline bonjour libedit systemd llvm) + feature_not_implemented_yet(uuid) 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() - 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() ## Download and extract sources @@ -128,14 +128,14 @@ if(VCPKG_TARGET_IS_WINDOWS) set(CONFIG_FILE "${BUILDPATH_${_buildtype}}/src/tools/msvc/config.pl") file(READ "${CONFIG_FILE}" _contents) - ## ldap => undef, # --with-ldap ##done + ## ldap => undef, # --with-ldap ## extraver => undef, # --with-extra-version=<string> ## gss => undef, # --with-gssapi=<path> ## icu => undef, # --with-icu=<path> ##done ## nls => undef, # --enable-nls=<path> ##done ## tap_tests => undef, # --enable-tap-tests ## 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 ## openssl => undef, # --with-openssl=<path> ##done ## uuid => undef, # --with-ossp-uuid @@ -145,10 +145,7 @@ if(VCPKG_TARGET_IS_WINDOWS) ## zlib => undef # --with-zlib=<path> ##done ## 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;" - if("${FEATURES}" MATCHES "ldap") - string(REPLACE "ldap => undef" "ldap => 1" _contents "${_contents}") - endif() + ##"-DFEATURES=core;openssl;zlib" "-DALL_FEATURES=openssl;zlib;readline;libedit;python;tcl;nls;systemd;llvm;icu;bonjour;uuid;xml;xslt;" if("${FEATURES}" MATCHES "icu") string(REPLACE "icu => undef" "icu => \"${CURRENT_INSTALLED_DIR}\"" _contents "${_contents}") endif() |
