pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/bash bash: add missing options.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/d29a8a0865e3
branches: trunk
changeset: 342697:d29a8a0865e3
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Thu Oct 24 11:53:13 2019 +0000
description:
bash: add missing options.mk
diffstat:
shells/bash/options.mk | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r ec7a12cc15a6 -r d29a8a0865e3 shells/bash/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/bash/options.mk Thu Oct 24 11:53:13 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2019/10/24 11:53:13 triaxx Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.bash
+PKG_SUPPORTED_OPTIONS= nls
+
+PLIST_VARS+= nls
+
+.include "../../mk/bsd.options.mk"
+
+###
+### NLS support
+###
+.if !empty(PKG_OPTIONS:Mnls)
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= msgfmt msgmerge xgettext
+CONFIGURE_ARGS+= --enable-nls
+. include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
Home |
Main Index |
Thread Index |
Old Index