summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/licq/Makefile6
-rw-r--r--net/licq/pkg-plist2
2 files changed, 7 insertions, 1 deletions
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