summaryrefslogtreecommitdiff
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
commita81333de1c54bfd888909b892dfc58c74a651fc8 (patch)
tree622942ae76947492c503d86b6c208bbb95e7f3a2
parentc129ac7ae576a22838ff0148f0cabb5618367b3f (diff)
downloadpkgsrc-a81333de1c54bfd888909b892dfc58c74a651fc8.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@
-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