1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Support WITHOUT_NLS

This commit is contained in:
Kris Kennaway 2004-03-25 12:16:56 +00:00
parent 5e5eacdbfb
commit 98ea742728
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105229
2 changed files with 10 additions and 3 deletions

View File

@ -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>

View File

@ -33,8 +33,8 @@ lib/libcomprex.so
lib/libcomprex.so.3
libdata/pkgconfig/libcomprex.pc
share/aclocal/libcomprex.m4
share/locale/it/LC_MESSAGES/libcomprex.mo
share/locale/nl/LC_MESSAGES/libcomprex.mo
%%NLS%%share/locale/it/LC_MESSAGES/libcomprex.mo
%%NLS%%share/locale/nl/LC_MESSAGES/libcomprex.mo
@dirrm lib/comprex/scheme
@dirrm lib/comprex/archive
@dirrm lib/comprex