diff options
author | crees <crees@FreeBSD.org> | 2012-01-24 04:36:58 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-01-24 04:36:58 +0800 |
commit | a1fb242b2238da3d53eec157520cde29ab2402b5 (patch) | |
tree | 4bf3e95a9c6af6c14d05c43ba70b7820a2dcb244 /databases/postgresql91-server | |
parent | eec080149f1a6228f164938939626bb14baedda0 (diff) | |
download | freebsd-ports-gnome-a1fb242b2238da3d53eec157520cde29ab2402b5.tar.gz freebsd-ports-gnome-a1fb242b2238da3d53eec157520cde29ab2402b5.tar.zst freebsd-ports-gnome-a1fb242b2238da3d53eec157520cde29ab2402b5.zip |
Add OPTION to postgresql9[10]-contrib for building without uuid-ossp
Requested by: sunpoet
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r-- | databases/postgresql91-server/Makefile | 8 | ||||
-rw-r--r-- | databases/postgresql91-server/pkg-plist-contrib | 8 |
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 |