aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-22 22:20:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-22 22:20:38 +0000
commit3cdb19f952afdf4c3c6cf2da73ffc06abaa64a89 (patch)
treecfe09802f65907f6f10fc139bcffe77edb2147ca /archivers
parentf9e26b0570f8e2029313d594806ca994e9f97c26 (diff)
downloadports-3cdb19f952afdf4c3c6cf2da73ffc06abaa64a89.tar.gz
ports-3cdb19f952afdf4c3c6cf2da73ffc06abaa64a89.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rpm/Makefile13
-rw-r--r--archivers/rpm/pkg-plist26
2 files changed, 23 insertions, 16 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile
index 35e82b4815ab..c3583ddf37d5 100644
--- a/archivers/rpm/Makefile
+++ b/archivers/rpm/Makefile
@@ -19,15 +19,22 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
CONFLICTS= rpm-4.*
-USE_GETTEXT= yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:14 autoconf:213 libtool:15
CONFIGURE_ARGS= --with-glob
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib -lintl -liconv"
USE_LDCONFIG= yes
MAKE_ENV= OLD_PO_FILE_INPUT=1
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lintl -liconv"
+.endif
+
MAN1= gendiff.1
MAN8= rpm.8 rpm2cpio.8
diff --git a/archivers/rpm/pkg-plist b/archivers/rpm/pkg-plist
index fbaedefa706b..56dc7cf9813a 100644
--- a/archivers/rpm/pkg-plist
+++ b/archivers/rpm/pkg-plist
@@ -56,19 +56,19 @@ lib/rpm/vpkg-provides.sh
lib/rpm/vpkg-provides2.sh
lib/rpmpopt
lib/rpmrc
-share/locale/cs/LC_MESSAGES/rpm.mo
-share/locale/de/LC_MESSAGES/rpm.mo
-share/locale/fi/LC_MESSAGES/rpm.mo
-share/locale/fr/LC_MESSAGES/rpm.mo
-share/locale/ja/LC_MESSAGES/rpm.mo
-share/locale/pl/LC_MESSAGES/rpm.mo
-share/locale/pt_BR/LC_MESSAGES/rpm.mo
-share/locale/ru/LC_MESSAGES/rpm.mo
-share/locale/sk/LC_MESSAGES/rpm.mo
-share/locale/sl/LC_MESSAGES/rpm.mo
-share/locale/sr/LC_MESSAGES/rpm.mo
-share/locale/sv/LC_MESSAGES/rpm.mo
-share/locale/tr/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/de/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/rpm.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/rpm.mo
@dirrm lib/rpm
@dirrm include/rpm
@dirrmtry src/redhat/SRPMS