diff options
| author | Adam Weinberger <adamw@FreeBSD.org> | 2019-12-30 18:04:39 +0000 |
|---|---|---|
| committer | Adam Weinberger <adamw@FreeBSD.org> | 2019-12-30 18:04:39 +0000 |
| commit | 6eaf92cd8f518bb2f08235d80c461ae550b08f40 (patch) | |
| tree | 1a029de40bf4277cb5b84cf32e4cd8b623581a90 /databases/postgresql11-contrib/Makefile | |
| parent | Use FONTPATHSPEC (diff) | |
postgresql{96,10,11}-contrib: Add an XML option
Avoids the libxml/libxslt2 dependency chain for systems that don't need
the XML datatype plugin.
PR: 239638
Approved by: maintainer timeout (pgsql team, nearly 5 months)
Diffstat (limited to 'databases/postgresql11-contrib/Makefile')
| -rw-r--r-- | databases/postgresql11-contrib/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/databases/postgresql11-contrib/Makefile b/databases/postgresql11-contrib/Makefile index 56a02b0852a6..776a215d7951 100644 --- a/databases/postgresql11-contrib/Makefile +++ b/databases/postgresql11-contrib/Makefile @@ -8,9 +8,6 @@ CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution -LIB_DEPENDS= libxslt.so:textproc/libxslt \ - libxml2.so:textproc/libxml2 - MASTERDIR= ${.CURDIR}/../postgresql11-server USES= bison pgsql:11 @@ -20,17 +17,21 @@ INSTALL_DIRS= contrib SLAVE_ONLY= yes COMPONENT= -contrib -CONFIGURE_ARGS= --with-libxslt --with-libxml --disable-nls --with-uuid=bsd +CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib -OPTIONS_DEFINE= DOCS OPENSSL -OPTIONS_DEFAULT=OPENSSL +OPTIONS_DEFINE= DOCS OPENSSL XML +OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl +XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ + libxml2.so:textproc/libxml2 +XML_CONFIGURE_WITH= libxml libxslt + post-configure: @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks |
