pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/e2fsprogs



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Dec  2 17:59:05 UTC 2021

Added Files:
        pkgsrc/sysutils/e2fsprogs: options.mk

Log Message:
Fix PLIST by not implicitly depending on gettext-tools


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/e2fsprogs/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/sysutils/e2fsprogs/options.mk
diff -u /dev/null pkgsrc/sysutils/e2fsprogs/options.mk:1.1
--- /dev/null   Thu Dec  2 17:59:05 2021
+++ pkgsrc/sysutils/e2fsprogs/options.mk        Thu Dec  2 17:59:05 2021
@@ -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