summaryrefslogtreecommitdiffstats
path: root/databases/postgresql-devel-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-devel-server/Makefile')
-rw-r--r--databases/postgresql-devel-server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile
index 63c4b73..14f3720 100644
--- a/databases/postgresql-devel-server/Makefile
+++ b/databases/postgresql-devel-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"
OpenPOWER on IntegriCloud