summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-03-25 10:32:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-03-25 10:32:44 +0000
commitfae372af37e22a98cc146f06658034deb958e4cf (patch)
tree7dc4bfed3d4851e739e41650c44d418aedb453d4 /lang
parentshare fping w/the world (diff)
sed out -* from ``uname -r'' so this will build on future versions of
SNAPs, BETAs, etc...
Notes
Notes: svn path=/head/; revision=6008
Diffstat (limited to 'lang')
-rw-r--r--lang/objc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/objc/Makefile b/lang/objc/Makefile
index 5cdd2769f904..00c7a899bd48 100644
--- a/lang/objc/Makefile
+++ b/lang/objc/Makefile
@@ -3,7 +3,7 @@
# Date created: 14 March 1997
# Whom: chuckr@freebsd.org
#
-# $Id: Makefile,v 1.1.1.1 1997/03/18 22:53:47 chuckr Exp $
+# $Id: Makefile,v 1.2 1997/03/25 08:17:43 obrien Exp $
#
DISTNAME= objc
@@ -15,15 +15,15 @@ MAINTAINER= chuckr@freebsd.org
HAS_CONFIGURE= yes
-SYSNAME!= uname -r
+SYSNAME!= uname -r | /usr/bin/sed -e 's/-.*$$//g'
-.if ${SYSNAME} == "3.0-CURRENT"
+.if ${SYSNAME} == "3.0"
DISTFILES= objc1.1.12-i386-unknown-freebsd3.0.tar.gz
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd3.0
-.elif ${SYSNAME} == "2.2-RELEASE"
+.elif ${SYSNAME} == "2.2"
DISTFILES= objc1.1.12-i386-unknown-freebsd2.2.tar.gz
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.2
-.elif (${SYSNAME} == "2.1.7-RELEASE" || ${SYSNAME} == "2.1.6-RELEASE" || ${SYSNAME} == "2.1.5-RELEASE")
+.elif (${SYSNAME} == "2.1.7" || ${SYSNAME} == "2.1.6" || ${SYSNAME} == "2.1.5")
DISTFILES= objc1.1.12-i386-unknown-freebsd2.1.7.tar.gz
WRKSRC= $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.1.7
.else