aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-01-23 20:36:58 +0000
committerChris Rees <crees@FreeBSD.org>2012-01-23 20:36:58 +0000
commitf2c674e5eff1f140b64ee6727fad9e8e500fc77e (patch)
tree35425753dcc67745d7fc13da2e9a4ebc6817aede /databases/postgresql91-server
parentd8301fb64707d64f373254213b8c2ed03f6d31f0 (diff)
downloadports-f2c674e5eff1f140b64ee6727fad9e8e500fc77e.tar.gz
ports-f2c674e5eff1f140b64ee6727fad9e8e500fc77e.zip
Notes
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile8
-rw-r--r--databases/postgresql91-server/pkg-plist-contrib8
2 files changed, 12 insertions, 4 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 4783cf7c7fa5..7148c75aaf49 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -121,6 +121,14 @@ LIB_DEPENDS+= icudata.48:${PORTSDIR}/devel/icu
. endif
.endif # !SLAVE_ONLY
+.if defined(WITH_OSSP_UUID)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/misc/ossp-uuid
+CONFIGURE_ARGS+=--with-ossp-uuid
+PLIST_SUB+= OSSP=""
+.else
+PLIST_SUB+= OSSP="@comment "
+.endif
+
.include <bsd.port.pre.mk>
.if !defined(SLAVE_ONLY)
diff --git a/databases/postgresql91-server/pkg-plist-contrib b/databases/postgresql91-server/pkg-plist-contrib
index b616652ad171..25a7ad8cc1cf 100644
--- a/databases/postgresql91-server/pkg-plist-contrib
+++ b/databases/postgresql91-server/pkg-plist-contrib
@@ -43,7 +43,7 @@ lib/postgresql/test_parser.so
lib/postgresql/timetravel.so
lib/postgresql/tsearch2.so
lib/postgresql/unaccent.so
-lib/postgresql/uuid-ossp.so
+%%OSSP%%lib/postgresql/uuid-ossp.so
%%DOCSDIR%%/README-contrib
%%DOCSDIR%%/extension/README
bin/pg_test_fsync
@@ -164,9 +164,9 @@ share/postgresql/extension/tsearch2.control
share/postgresql/extension/unaccent--1.0.sql
share/postgresql/extension/unaccent--unpackaged--1.0.sql
share/postgresql/extension/unaccent.control
-share/postgresql/extension/uuid-ossp--1.0.sql
-share/postgresql/extension/uuid-ossp--unpackaged--1.0.sql
-share/postgresql/extension/uuid-ossp.control
+%%OSSP%%share/postgresql/extension/uuid-ossp--1.0.sql
+%%OSSP%%share/postgresql/extension/uuid-ossp--unpackaged--1.0.sql
+%%OSSP%%share/postgresql/extension/uuid-ossp.control
share/postgresql/extension/xml2--1.0.sql
share/postgresql/extension/xml2--unpackaged--1.0.sql
share/postgresql/extension/xml2.control