summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjlam <jlam>2005-04-28 23:29:06 +0000
committerjlam <jlam>2005-04-28 23:29:06 +0000
commit0b6df6fb4db14de893f66829b53f53c6eccb18f8 (patch)
tree5b5ae490b888d4feba8d2d4d2759f670129f43fc /shells
parent14671c22e90da6257477974e51d394f2fdd9bbe8 (diff)
downloadpkgsrc-0b6df6fb4db14de893f66829b53f53c6eccb18f8.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