From owner-freebsd-ia64 Fri Jan 10 14:49:43 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4008937B401 for ; Fri, 10 Jan 2003 14:49:41 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2290343F43 for ; Fri, 10 Jan 2003 14:49:40 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 29730 invoked by uid 0); 10 Jan 2003 22:49:39 -0000 Received: from p508e7307.dip.t-dialin.net (HELO galatea.local) (80.142.115.7) by mail.gmx.net (mp022-rz3) with SMTP; 10 Jan 2003 22:49:39 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.10 #1) id 18X7zU-0001I5-00; Fri, 10 Jan 2003 23:51:04 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0AMoxYu004964; Fri, 10 Jan 2003 23:50:59 +0100 (CET) Date: Fri, 10 Jan 2003 23:50:59 +0100 From: Thomas Moestl To: Marcel Moolenaar Cc: Scott Long , re-builders@freebsd.org Subject: Re: Something's wrong with ports/devel... Message-ID: <20030110225059.GF1732@crow.dom2ip.de> References: <20030110214547.GA1100@athlon.pn.xcllnt.net> <3E1F43AF.40002@btc.adaptec.com> <20030110222829.GA1196@athlon.pn.xcllnt.net> <20030110224115.GE1732@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030110224115.GE1732@crow.dom2ip.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 2003/01/10 at 23:41:15 +0100, Thomas Moestl wrote: > See the attached patch. S///g does hang (unsurprisingly). > > Index: Makefile > =================================================================== > RCS file: /d/ncvs/ports/devel/m6811-gcc/Makefile,v > retrieving revision 1.20 > diff -u -r1.20 Makefile > --- Makefile 24 Dec 2002 09:47:20 -0000 1.20 > +++ Makefile 10 Jan 2003 22:41:38 -0000 > @@ -28,7 +28,7 @@ > > USE_GMAKE= yes > HAS_CONFIGURE= yes > -CFLAGS:= ${CFLAGS:S/${_CPUCFLAGS}//g} > +CFLAGS:= ${CFLAGS:S/\${_CPUCFLAGS}//g} > PLIST_SUB= GCC_VER=${PORTVERSION} > CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \ > --program-prefix=m6811-elf- Doh, that does of course break the substitution if _CPUCFLAGS is indeed defined. More correct is: Index: Makefile =================================================================== RCS file: /d/ncvs/ports/devel/m6811-gcc/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 24 Dec 2002 09:47:20 -0000 1.20 +++ Makefile 10 Jan 2003 22:51:38 -0000 @@ -28,7 +28,9 @@ USE_GMAKE= yes HAS_CONFIGURE= yes +.if defined(_CPUCFLAGS) CFLAGS:= ${CFLAGS:S/${_CPUCFLAGS}//g} +.endif PLIST_SUB= GCC_VER=${PORTVERSION} CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \ --program-prefix=m6811-elf- - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message