aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql84-server
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-02-05 12:56:00 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-02-05 12:56:00 +0000
commit6c2cc3d5fd7f24b5bfe30488cde579a38d1e999d (patch)
treebc03f359833f5e8aac0ad719a7e501f3a1a9ec9e /databases/postgresql84-server
parent0270226b8f0dc670ed72254cefc4b9d2ce4e782b (diff)
downloadports-6c2cc3d5fd7f24b5bfe30488cde579a38d1e999d.tar.gz
ports-6c2cc3d5fd7f24b5bfe30488cde579a38d1e999d.zip
Add WITHOUT_NLS knob. Move USE_GETTEXT to proper place.
PR: 61836 Submitted by: Palle Girgensohn (maintainer) Pointy hat to: me
Notes
Notes: svn path=/head/; revision=100045
Diffstat (limited to 'databases/postgresql84-server')
-rw-r--r--databases/postgresql84-server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 63c4b73098a2..14f37207f566 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-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"