pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/dar
Module Name: pkgsrc
Committed By: cheusov
Date: Wed May 1 19:00:19 UTC 2024
Modified Files:
pkgsrc/archivers/dar: PLIST options.mk
Log Message:
Add support for option "nls"
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/archivers/dar/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/archivers/dar/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/dar/PLIST
diff -u pkgsrc/archivers/dar/PLIST:1.15 pkgsrc/archivers/dar/PLIST:1.16
--- pkgsrc/archivers/dar/PLIST:1.15 Mon Oct 3 16:09:53 2022
+++ pkgsrc/archivers/dar/PLIST Wed May 1 19:00:19 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2022/10/03 16:09:53 nros Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/05/01 19:00:19 cheusov Exp $
bin/dar
bin/dar_cp
bin/dar_manager
@@ -169,5 +169,5 @@ share/doc/dar/restoration-with-dar.html
share/doc/dar/style.css
share/doc/dar/usage_notes.html
share/examples/dar/darrc
-share/locale/fr/LC_MESSAGES/dar.mo
-share/locale/sv/LC_MESSAGES/dar.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/dar.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/dar.mo
Index: pkgsrc/archivers/dar/options.mk
diff -u pkgsrc/archivers/dar/options.mk:1.1 pkgsrc/archivers/dar/options.mk:1.2
--- pkgsrc/archivers/dar/options.mk:1.1 Wed Oct 5 09:36:52 2022
+++ pkgsrc/archivers/dar/options.mk Wed May 1 19:00:19 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2022/10/05 09:36:52 nros Exp $
+# $NetBSD: options.mk,v 1.2 2024/05/01 19:00:19 cheusov Exp $
## Our threading check here is the same as the one used in devel/perl5.
#
@@ -6,6 +6,8 @@ CHECK_BUILTIN.pthread:=yes
.include "../../mk/pthread.builtin.mk"
CHECK_BUILTIN.pthread:=no
+PLIST_VARS+= nls
+
## XXX I'm following the USE_FEATURES semantics used in security/openssl.
#
.if !empty(USE_BUILTIN.pthread:tl:Myes)
@@ -18,7 +20,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.dar
PKG_OPTIONS_OPTIONAL_GROUPS= int
PKG_OPTIONS_GROUP.int= dar-int32 dar-int64
PKG_SUGGESTED_OPTIONS= dar-int64 ${USE_FEATURES.dar}
-PKG_SUPPORTED_OPTIONS= threads
+PKG_SUPPORTED_OPTIONS= threads nls
.include "../../mk/bsd.options.mk"
@@ -48,3 +50,11 @@ BUILDLINK_TRANSFORM+= rm:-lpthread
.else
CONFIGURE_ARGS+= --disable-thread-safe
.endif
+
+# readline/editline
+.if !empty(PKG_OPTIONS:Mnls)
+CONFIGURE_ARGS+= --enable-nls
+PLIST.nls= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
Home |
Main Index |
Thread Index |
Old Index