aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-25 19:42:35 +0800
committerkris <kris@FreeBSD.org>2004-03-25 19:42:35 +0800
commitdf24471062b1f452ed4ef2df22495a4bac8aa6bb (patch)
tree910a3b97cd40c13fba249d59e6ed9fc91d74b246 /ftp
parent5a5ecf406c22ae422e8044d5ca4fb0d51d530b3d (diff)
downloadfreebsd-ports-gnome-df24471062b1f452ed4ef2df22495a4bac8aa6bb.tar.gz
freebsd-ports-gnome-df24471062b1f452ed4ef2df22495a4bac8aa6bb.tar.zst
freebsd-ports-gnome-df24471062b1f452ed4ef2df22495a4bac8aa6bb.zip
Support WITHOUT_NLS
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