summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-09-03 15:58:22 +0000
committersevan <sevan@pkgsrc.org>2015-09-03 15:58:22 +0000
commit5e0744327b9a4fdec649f44adb14f2aaf482f004 (patch)
tree622942ae76947492c503d86b6c208bbb95e7f3a2 /shells
parenta8385b83bf4dabe07e1af0eb632685e850e57c1e (diff)
downloadpkgsrc-5e0744327b9a4fdec649f44adb14f2aaf482f004.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