diff options
author | kris <kris@FreeBSD.org> | 2004-03-25 12:16:56 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-25 12:16:56 +0000 |
commit | 6da196ee1c48858618c01ded952c5fcab2bda7b3 (patch) | |
tree | b3c92545b419d83877606a6e0a197636a06f739d /archivers/libcomprex/Makefile | |
parent | 25d2b0b36e41c43237af93cf1925c03b81647e31 (diff) | |
download | FreeBSD-ports-6da196ee1c48858618c01ded952c5fcab2bda7b3.zip FreeBSD-ports-6da196ee1c48858618c01ded952c5fcab2bda7b3.tar.gz |
Support WITHOUT_NLS
Diffstat (limited to 'archivers/libcomprex/Makefile')
-rw-r--r-- | archivers/libcomprex/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile index b453b96..6bd7733 100644 --- a/archivers/libcomprex/Makefile +++ b/archivers/libcomprex/Makefile @@ -22,7 +22,6 @@ LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl \ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2 .endif -USE_GETTEXT= yes USE_GNOME= gnomehack gnometarget pkgconfig USE_LIBTOOL_VER= 13 LIBTOOLFLAGS= # none @@ -30,6 +29,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" INSTALLS_SHLIB= yes +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.pre.mk> .include "Makefile.man" .include <bsd.port.post.mk> |