pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/bash



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Thu Oct 24 11:53:13 UTC 2019

Added Files:
        pkgsrc/shells/bash: options.mk

Log Message:
bash: add missing options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/shells/bash/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/shells/bash/options.mk
diff -u /dev/null pkgsrc/shells/bash/options.mk:1.1
--- /dev/null   Thu Oct 24 11:53:13 2019
+++ pkgsrc/shells/bash/options.mk       Thu Oct 24 11:53:13 2019
@@ -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