aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
commit2fa62596744270745d9d0540f5bbd839f6b78d23 (patch)
treeb7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /archivers
parente496938a05b08a6dc0a4f3562f7615a574354e2e (diff)
downloadports-2fa62596744270745d9d0540f5bbd839f6b78d23.tar.gz
ports-2fa62596744270745d9d0540f5bbd839f6b78d23.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/dpkg/Makefile4
-rw-r--r--archivers/dpkg/Makefile.man2
2 files changed, 4 insertions, 2 deletions
diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile
index 64ba3919bada..4322b5bf324f 100644
--- a/archivers/dpkg/Makefile
+++ b/archivers/dpkg/Makefile
@@ -38,7 +38,9 @@ CONFIGURE_ARGS+=--with-admindir=${DPKGDIR} --libdir=${PREFIX}/libexec \
--disable-compiler-warnings
CONFIGURE_ENV+= PERL_LIBDIR="${PREFIX}/${SITE_PERL_REL}"
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
MANLANG= "" de fr hu ja pl sv
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
diff --git a/archivers/dpkg/Makefile.man b/archivers/dpkg/Makefile.man
index 72aa5ca86f3a..97647a0ed701 100644
--- a/archivers/dpkg/Makefile.man
+++ b/archivers/dpkg/Makefile.man
@@ -73,7 +73,7 @@ MAN8_EN= dpkg-divert.8 \
start-stop-daemon.8 \
update-alternatives.8
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
MAN1_DE= dpkg-architecture.1 \
dpkg-buildpackage.1 \
dpkg-checkbuilddeps.1 \