From 9083493096e0f11baa3b399432687ea0dd775a29 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 30 Jan 2018 13:45:50 +0000 Subject: [PATCH] Fix ICU depend for postgresql10-server. PR: 225049 Submitted by: mat Approved by: maintainer timeout Sponsored by: Absolight --- databases/postgresql10-server/Makefile | 6 ------ databases/postgresql92-server/Makefile | 4 ++++ 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