mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 11:19:43 +00: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
|
||||
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)
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user