summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2021-11-15 17:28:59 +0000
committerkim <kim@pkgsrc.org>2021-11-15 17:28:59 +0000
commit1fe98e6be5002ebba8c06b7890dff1d7a6b97475 (patch)
treecc2133e30796de2f4422f57dc67cb4f2ef54c8c6 /shells
parent38805d016e4fa419d5d2d4b36104c66842d78b48 (diff)
downloadpkgsrc-1fe98e6be5002ebba8c06b7890dff1d7a6b97475.tar.gz
{,standalone-,static-}tcsh: Give everyone their own option variable.
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/shells/tcsh/options.mk b/shells/tcsh/options.mk
index 385dad31958..12e7694b180 100644
--- a/shells/tcsh/options.mk
+++ b/shells/tcsh/options.mk
@@ -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