summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorsevan <sevan>2015-09-03 15:58:22 +0000
committersevan <sevan>2015-09-03 15:58:22 +0000
commit1473032673ee78ea7113bf3f46dbb3085c2ddbaa (patch)
tree622942ae76947492c503d86b6c208bbb95e7f3a2 /shells
parent1c7d99bb49ca00e88a2686b9510296eb0b716621 (diff)
downloadpkgsrc-1473032673ee78ea7113bf3f46dbb3085c2ddbaa.tar.gz
Exclude this package on OmniOS which ships with a copy of tcsh.
OmniOS is an Illumos distro which falls under the SunOS variant for us. Include mk/bsd.prefs.mk before the shells/tcsh/Makefile so the OS_VARIANT variable is available for testing. Reviewed by agc@ wiz@
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile
index 8e5b45c0310..0ac1532f158 100644
--- a/shells/standalone-tcsh/Makefile
+++ b/shells/standalone-tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2015/03/15 18:32:12 tnn Exp $
+# $NetBSD: Makefile,v 1.26 2015/09/03 15:58:22 sevan Exp $
#
# FIXME: This is because of PREFIX=/ below.
@@ -15,6 +15,12 @@ PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
# anyone wants.
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OS_VARIANT} == "OmniOS"
+NOT_FOR_PLATFORM+= SunOS-*-*
+.endif
+
.include "../../shells/tcsh/Makefile"
INSTALLATION_DIRS+= usr/share/man/man1