From fa72215cb62b30acf0e9b604f57d54f583deb3ad Mon Sep 17 00:00:00 2001 From: mi Date: Mon, 1 Apr 2002 23:04:21 +0000 Subject: 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 --- databases/postgresql73-server/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'databases/postgresql73-server') diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile index c00cfda1aef..b6de1b047a5 100644 --- a/databases/postgresql73-server/Makefile +++ b/databases/postgresql73-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 " -- cgit