From d0704d2241812d83c7f8fa7cf4c766580b8ca702 Mon Sep 17 00:00:00 2001
From: agc <agc@pkgsrc.org>
Date: Tue, 17 Aug 1999 16:11:27 +0000
Subject: Be a bit more general when configuring this package on Solaris.

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

(limited to 'shells')

diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index 9adb03dabc4..7ccc6309611 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 1999/08/17 16:00:02 agc Exp $
+# $NetBSD: Makefile,v 1.19 1999/08/17 16:11:27 agc Exp $
 #
 
 DISTNAME=	tcsh-6.09
@@ -22,7 +22,8 @@ PLIST_SRC=	${WRKDIR}/PLIST-src
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
-LOWER_OPSYS=	solaris2.6
+OS_VERSION!=	echo ${OS_VERSION} | sed -e 's|5\.|2.|'
+LOWER_OPSYS=	solaris${OS_VERSION}
 .endif
 
 post-install:
-- 
cgit v1.2.3