pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/tcsh Change hack of MACHINE_GNU_PLATFORM for So...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83af0cabf096
branches:  trunk
changeset: 539680:83af0cabf096
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Mar 11 11:57:46 2008 +0000

description:
Change hack of MACHINE_GNU_PLATFORM for Solaris to catch up framework's change?
Fixes PR 38195.

diffstat:

 shells/tcsh/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 085a0fc7686b -r 83af0cabf096 shells/tcsh/Makefile
--- a/shells/tcsh/Makefile      Tue Mar 11 10:56:08 2008 +0000
+++ b/shells/tcsh/Makefile      Tue Mar 11 11:57:46 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2008/03/02 07:08:39 jlam Exp $
+# $NetBSD: Makefile,v 1.63 2008/03/11 11:57:46 obache Exp $
 #
 
 DISTNAME=      tcsh-6.15.00
@@ -26,8 +26,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
-OS_VER_cmd=    ${ECHO} ${OS_VERSION} | ${SED} -e 's|5\.|2.|'
-LOWER_OPSYS=   solaris${OS_VER_cmd:sh}
+LOWER_OPSYS_VERSUFFIX= ${OS_VERSION:S/5./2./}
 .endif
 
 PKG_SHELL?=    bin/tcsh



Home | Main Index | Thread Index | Old Index