summaryrefslogtreecommitdiff
path: root/databases/postgresql82-server
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-04-01 23:04:21 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-04-01 23:04:21 +0000
commit58f343497e55dd029dc17f30fb46b361e2739978 (patch)
tree7b97949858b206799a8ffd5bbe041503c2d9c7a1 /databases/postgresql82-server
parentUpgrade to Jakarta Tomcat 4.0.3. The Jakarta Tomcat 3 (diff)
Fix some bitrot for the non-default case of WITH_GETTEXT -- lib-depend
on -lintl instead of build-depending on msgfmt and make sure -lintl is linked into the shared -lpq. Approved by: maintainer
Notes
Notes: svn path=/head/; revision=57161
Diffstat (limited to 'databases/postgresql82-server')
-rw-r--r--databases/postgresql82-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index c00cfda1aef4..b6de1b047a54 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/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 "