diff options
author | mi <mi@FreeBSD.org> | 2002-04-02 07:04:21 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-04-02 07:04:21 +0800 |
commit | fa72215cb62b30acf0e9b604f57d54f583deb3ad (patch) | |
tree | 19dc2eddfd80fe5b30c13b5ff7877f605ef6cb40 /databases/postgresql74-server | |
parent | 728a49d9addcb777cb96e88f3bc37ec2cc0c3436 (diff) | |
download | freebsd-ports-gnome-fa72215cb62b30acf0e9b604f57d54f583deb3ad.tar.gz freebsd-ports-gnome-fa72215cb62b30acf0e9b604f57d54f583deb3ad.tar.zst freebsd-ports-gnome-fa72215cb62b30acf0e9b604f57d54f583deb3ad.zip |
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
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r-- | databases/postgresql74-server/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile index c00cfda1aef4..b6de1b047a54 100644 --- a/databases/postgresql74-server/Makefile +++ b/databases/postgresql74-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 " |