diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-22 22:20:38 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-22 22:20:38 +0000 |
commit | 3cdb19f952afdf4c3c6cf2da73ffc06abaa64a89 (patch) | |
tree | cfe09802f65907f6f10fc139bcffe77edb2147ca /archivers/rpm/Makefile | |
parent | Update to 1.5.0.11 (diff) |
- Make gettext optional with WITHOUT_NLS knob
PR: ports/110534
Submitted by: Helge Oldach <ports-rpm-mar07@oldach.net>
Notes
Notes:
svn path=/head/; revision=188063
Diffstat (limited to 'archivers/rpm/Makefile')
-rw-r--r-- | archivers/rpm/Makefile | 13 |
1 files changed, 10 insertions, 3 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 |