diff options
author | jlam <jlam@pkgsrc.org> | 2005-04-28 23:29:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-04-28 23:29:06 +0000 |
commit | d097c54c30f2c7b4a4c7020bc1b1c04e8ef6df4f (patch) | |
tree | 5b5ae490b888d4feba8d2d4d2759f670129f43fc /shells/tcsh | |
parent | e760948c29c57d179405059c9415c62069d519d5 (diff) | |
download | pkgsrc-d097c54c30f2c7b4a4c7020bc1b1c04e8ef6df4f.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/tcsh')
-rw-r--r-- | shells/tcsh/Makefile | 6 |
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 |