From b09eea02af4e466b390b6ee84bcb6a67556781e8 Mon Sep 17 00:00:00 2001 From: Dirk Meyer 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 +- net/licq/Makefile | 6 ++++++ net/licq/pkg-plist | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) 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 diff --git a/net/licq/Makefile b/net/licq/Makefile index 2d6b735f0177..6f71d7068847 100644 --- a/net/licq/Makefile +++ b/net/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/licq/pkg-plist b/net/licq/pkg-plist index b556aa6c1adb..79d7039cb462 100644 --- a/net/licq/pkg-plist +++ b/net/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 v1.2.3