summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-04-28 23:29:06 +0000
committerjlam <jlam@pkgsrc.org>2005-04-28 23:29:06 +0000
commitb35fa31e8e6ec9a09c21fe1965e7063b7727b5a5 (patch)
tree5b5ae490b888d4feba8d2d4d2759f670129f43fc /shells
parent3ead1854e79fa548eef620b804bf5b3d823c941e (diff)
downloadpkgsrc-b35fa31e8e6ec9a09c21fe1965e7063b7727b5a5.tar.gz
Avoid using != to define OS_VER .. use :sh instead to defer evaluation
until the make targets are invoked. This avoids needing ${ECHO} and ${SED} in the top-level make.
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index 64631159dc1..525b0db199e 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2005/04/11 21:47:21 tv Exp $
+# $NetBSD: Makefile,v 1.50 2005/04/28 23:29:06 jlam Exp $
#
DISTNAME= tcsh-6.14.00
@@ -28,8 +28,8 @@ PLIST_SRC= ${WRKDIR}/PLIST-src
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
-OS_VER!= ${ECHO} ${OS_VERSION} | ${SED} -e 's|5\.|2.|'
-LOWER_OPSYS= solaris${OS_VER}
+OS_VER_cmd= ${ECHO} ${OS_VERSION} | ${SED} -e 's|5\.|2.|'
+LOWER_OPSYS= solaris${OS_VER_cmd:sh}
.endif
PKG_SHELL?= ${PREFIX}/bin/tcsh