pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/tcsh {,standalone-,static-}tcsh: Give everyone ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66f7b6381664
branches:  trunk
changeset: 769448:66f7b6381664
user:      kim <kim%pkgsrc.org@localhost>
date:      Mon Nov 15 17:28:59 2021 +0000

description:
{,standalone-,static-}tcsh: Give everyone their own option variable.

diffstat:

 shells/tcsh/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 07c010af0b25 -r 66f7b6381664 shells/tcsh/options.mk
--- a/shells/tcsh/options.mk    Mon Nov 15 17:22:41 2021 +0000
+++ b/shells/tcsh/options.mk    Mon Nov 15 17:28:59 2021 +0000
@@ -1,6 +1,12 @@
-# $NetBSD: options.mk,v 1.1 2021/11/15 17:11:58 kim Exp $
+# $NetBSD: options.mk,v 1.2 2021/11/15 17:28:59 kim Exp $
 
-PKG_OPTIONS_VAR?=      PKG_OPTIONS.tcsh
+.if !empty(PKGNAME:Mstandalone-tcsh-[0-9]*)
+PKG_OPTIONS_VAR=       PKG_OPTIONS.standalone-tcsh
+.elif !empty(PKGNAME:Mstatic-tcsh-[0-9]*)
+PKG_OPTIONS_VAR=       PKG_OPTIONS.static-tcsh
+.else
+PKG_OPTIONS_VAR=       PKG_OPTIONS.tcsh
+.endif
 
 PKG_SUPPORTED_OPTIONS= nls
 PKG_SUGGESTED_OPTIONS= nls



Home | Main Index | Thread Index | Old Index