pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/e2fsprogs Fix PLIST by not implicitly dependi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a84263390ff3
branches:  trunk
changeset: 770558:a84263390ff3
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Dec 02 17:59:05 2021 +0000

description:
Fix PLIST by not implicitly depending on gettext-tools

diffstat:

 sysutils/e2fsprogs/options.mk |  22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r a04446ee6260 -r a84263390ff3 sysutils/e2fsprogs/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/e2fsprogs/options.mk     Thu Dec 02 17:59:05 2021 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2021/12/02 17:59:05 pho Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.e2fsprogs
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_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