Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 00:58:31 -0800 (PST)
From:      asami@vader.cs.berkeley.edu (Satoshi Asami)
To:        obrien@freefall.freebsd.org
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org
Subject:   Re: cvs commit:  ports/lang/objc Makefile
Message-ID:  <199703250858.AAA01868@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199703250817.AAA27385@freefall.freebsd.org> (obrien@freefall.freebsd.org)

next in thread | previous in thread | raw e-mail | index | archive | help
 *   Added support for 2.1.{5,6}.  I didn't see any reason why this shouldn't
 *   work on these too (especially 2.1.6).

That is all fine, but this:

===
SYSNAME!=       uname -r

.if ${SYSNAME} == "3.0-CURRENT"
DISTFILES=      objc1.1.12-i386-unknown-freebsd3.0.tar.gz
WRKSRC=         $(WRKDIR)/objc1.1.12-i386-unknown-freebsd3.0
.elif ${SYSNAME} == "2.2-RELEASE"
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")
DISTFILES=      objc1.1.12-i386-unknown-freebsd2.1.7.tar.gz
WRKSRC=         $(WRKDIR)/objc1.1.12-i386-unknown-freebsd2.1.7
.else
BROKEN=         Only suppports FreeBSD current, 2.2, and 2.1.{7,6,5}.  Sorry!
.endif
===

I don't think using exact string matches should be used.  The 2.2
branch is now called "2.2.1-RELEASE", and the RELEASE part will change 
again soon.  How about sed'ing out the "-!*$&&" part?

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703250858.AAA01868>