Fix ICU depend for postgresql10-server.

PR:		225049
Submitted by:	mat
Approved by:	maintainer timeout
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2018-01-30 13:45:50 +00:00
parent 82419fcd32
commit 9083493096
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460386
2 changed files with 4 additions and 6 deletions

View file

@ -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"

View file

@ -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