From 0b6df6fb4db14de893f66829b53f53c6eccb18f8 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 28 Apr 2005 23:29:06 +0000 Subject: 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. --- shells/tcsh/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shells') 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 -- cgit v1.2.3