aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql73
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql73')
-rw-r--r--databases/postgresql73/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile
index c00cfda1aef4..b6de1b047a54 100644
--- a/databases/postgresql73/Makefile
+++ b/databases/postgresql73/Makefile
@@ -56,8 +56,9 @@ LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
# libpq.so, including for example mod_php and tcl.
.if defined(WITH_GETTEXT)
CONFIGURE_ARGS+=--enable-nls
+CONFIGURE_ENV+= "LIBS=-lintl"
LDFLAGS+= -L${LOCALBASE}/lib -lintl
-BUILD_DEPENDS+= ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext-old
+LIB_DEPENDS+= intl:${PORTSDIR}/devel/gettext-old
PLIST_SUB+= GETTEXT=""
.else
PLIST_SUB+= GETTEXT="@comment "