aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-25 11:42:35 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-25 11:42:35 +0000
commit563748f353961ea2175665d74ee026e99a49489e (patch)
tree650908c6e0b4ec31fa1181884ca15e74008881e9 /ftp
parentd8c8eb98163958be39ea76dc47f3e61e27f5d0b9 (diff)
downloadports-563748f353961ea2175665d74ee026e99a49489e.tar.gz
ports-563748f353961ea2175665d74ee026e99a49489e.zip
Support WITHOUT_NLS
Notes
Notes: svn path=/head/; revision=105227
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pavuk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 996e7fbf3e4e..71198e48d3ae 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -18,7 +18,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP, FTP and Gopher mirroring tool
-USE_GETTEXT= yes
USE_OPENSSL= yes
WANT_GNOME= yes
USE_REINPLACE= yes
@@ -27,6 +26,14 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-locale-dir=${LOCALBASE}/share/locale \
--disable-debug --disable-gnome --enable-threads
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
MAN1= pavuk.1
CPPFLAGS= -I${LOCALBASE}/include