aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-02-05 20:56:00 +0800
committertrevor <trevor@FreeBSD.org>2004-02-05 20:56:00 +0800
commiteb87503503be62e140f233de96f76266b550d775 (patch)
tree0244655682748d39c68f2aa487cadbd00ce027c4 /databases/postgresql91-server
parent344af365be64f54652291d8d27a79ffc10c30003 (diff)
downloadfreebsd-ports-gnome-eb87503503be62e140f233de96f76266b550d775.tar.gz
freebsd-ports-gnome-eb87503503be62e140f233de96f76266b550d775.tar.zst
freebsd-ports-gnome-eb87503503be62e140f233de96f76266b550d775.zip
Add WITHOUT_NLS knob. Move USE_GETTEXT to proper place.
PR: 61836 Submitted by: Palle Girgensohn (maintainer) Pointy hat to: me
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 63c4b73098a2..14f37207f566 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -21,7 +21,6 @@ WRKSRC= ${WRKDIR}/postgresql-${PORTVERSION}
DIST_SUBDIR= postgresql
USE_BZIP2= YES
-USE_GETTEXT= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
@@ -46,9 +45,10 @@ CONFIGURE_ARGS+= --with-pam
USE_GETOPT_LONG=yes
.endif
-.if !defined(WITHOUT_GETTEXT)
+.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
+USE_GETTEXT= YES
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= GETTEXT="@comment "
@@ -149,7 +149,7 @@ pre-everything::
@${ECHO} ""
@${ECHO} " WITHOUT_GNUGETOPT Don't install GNU getopt (will"
@${ECHO} " still be used if already installed)"
- @${ECHO} " WITHOUT_GETTEXT Skips building with support for"
+ @${ECHO} " WITHOUT_NLS Skips building with support for"
@${ECHO} " internationalized error messages"
@${ECHO} " WITHOUT_SERVER Don't install the server,"
@${ECHO} " only install binaries, headers and libs"