aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-01-30 21:45:50 +0800
committermat <mat@FreeBSD.org>2018-01-30 21:45:50 +0800
commitead5d14a23d00fa3fe07b3c12fc409f3f5fb4ac6 (patch)
treeb6501f01fb0e912dc3e7a1692c68cae71bfbdf50
parent561f021f6b73a990bb3832e6c7e41f8335984f64 (diff)
downloadfreebsd-ports-gnome-ead5d14a23d00fa3fe07b3c12fc409f3f5fb4ac6.tar.gz
freebsd-ports-gnome-ead5d14a23d00fa3fe07b3c12fc409f3f5fb4ac6.tar.zst
freebsd-ports-gnome-ead5d14a23d00fa3fe07b3c12fc409f3f5fb4ac6.zip
Fix ICU depend for postgresql10-server.
PR: 225049 Submitted by: mat Approved by: maintainer timeout Sponsored by: Absolight
-rw-r--r--databases/postgresql10-server/Makefile6
-rw-r--r--databases/postgresql92-server/Makefile4
2 files changed, 4 insertions, 6 deletions
diff --git a/databases/postgresql10-server/Makefile b/databases/postgresql10-server/Makefile
index 3b84aa20b8b4..05d68be9d8d1 100644
--- a/databases/postgresql10-server/Makefile
+++ b/databases/postgresql10-server/Makefile
@@ -22,10 +22,4 @@ PG_USER?= postgres
PG_GROUP?= postgres
PG_UID?= 770
-.if defined(SERVER_ONLY)
-CONFIGURE_ARGS+=--with-icu
-LIB_DEPENDS+= libicudata.so:devel/icu
-USES+= pkgconfig
-.endif
-
.include "${.CURDIR}/../postgresql92-server/Makefile"
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 7947c668d594..7af26c29e519 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -88,6 +88,10 @@ XML_DESC= Build with XML data type
# See http://people.freebsd.org/~girgen/postgresql-icu/README.html for more info
OPTIONS_DEFINE+= ICU
ICU_DESC= Use ICU for unicode collation
+.else
+CONFIGURE_ARGS+=--with-icu
+LIB_DEPENDS+= libicudata.so:devel/icu
+USES+= pkgconfig
.endif
# See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/76999 for more info