summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authordholland <dholland>2015-01-11 02:15:51 +0000
committerdholland <dholland>2015-01-11 02:15:51 +0000
commit4a445835a26f45363d69e8a485245fbe2aa74c6c (patch)
tree47f348998db44a89118ece2acabbe247b4005bcc /shells
parentd9812fb9ca5a09d6b11f259fabc584a470db91db (diff)
downloadpkgsrc-4a445835a26f45363d69e8a485245fbe2aa74c6c.tar.gz
Mark this ONLY_FOR_PLATFORM and list the platforms where tcsh is *not*
already in /bin. Otherwise, building and installing it naively clobbers the native tcsh, which isn't what anyone wants. I believe these platforms to be: NetBSD, OpenBSD, Solaris -- if anyone can confirm that others (especially old ones I can't readily check) don't have a native tcsh, please add.
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile
index 121ee8d629f..ef113a98e87 100644
--- a/shells/standalone-tcsh/Makefile
+++ b/shells/standalone-tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2012/05/22 08:46:53 marino Exp $
+# $NetBSD: Makefile,v 1.24 2015/01/11 02:15:51 dholland Exp $
#
# FIXME: This is because of PREFIX=/ below.
@@ -9,10 +9,10 @@ PKGNAME= standalone-${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}
PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
-# DragonFly already has native /bin/tcsh
-# This package is not restricted to ${LOCALBASE} and will replace system tcsh
-# Instead, see shells/tcsh which installs at ${LOCALBASE}/bin/tcsh
-NOT_FOR_PLATFORM+= DragonFly-*-*
+# This package only makes sense on platforms that don't themselves ship tcsh
+# in /bin. Otherwise it clobbers the native copy, which really isn't what
+# anyone wants.
+ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
.include "../../shells/tcsh/Makefile"