From 53433df70d734c336bbfcea5444ca41de2b1773f Mon Sep 17 00:00:00 2001 From: dinoex Date: Fri, 24 Dec 2004 04:59:53 +0000 Subject: - fix package for WITHOUT_NLS=yes --- net-im/licq/Makefile | 6 ++++++ net-im/licq/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'net-im/licq') diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index 2d6b735f0177..6f71d7068847 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/Makefile @@ -43,6 +43,12 @@ CONFIGURE_ARGS+=--with-openssl-inc=${OPENSSLINC} CONFIGURE_ARGS+=--with-openssl-lib=${OPENSSLLIB} .endif +.if defined(WITHOUT_NLS) +PLIST_SUB+= NLS="@comment " +.else +PLIST_SUB+= NLS="" +.endif + pre-configure: ${REINPLACE_CMD} -e 's=/usr/share/licq=${PREFIX}/share/licq=' \ ${WRKSRC}/src/licq.conf.h diff --git a/net-im/licq/pkg-plist b/net-im/licq/pkg-plist index b556aa6c1adb..79d7039cb462 100644 --- a/net-im/licq/pkg-plist +++ b/net-im/licq/pkg-plist @@ -108,7 +108,7 @@ share/licq/utilities/talk.utility share/licq/utilities/traceroute.utility share/licq/utilities/vnc.utility share/licq/utilities/xtraceroute.utility -share/locale/de/LC_MESSAGES/licq.mo +%%NLS%%share/locale/de/LC_MESSAGES/licq.mo @dirrm include/licq @dirrm lib/licq @dirrm share/licq/sounds/fun -- cgit