Date: Fri, 10 Jan 2003 23:50:59 +0100 From: Thomas Moestl <tmoestl@gmx.net> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: Scott Long <scott_long@btc.adaptec.com>, re-builders@freebsd.org Subject: Re: Something's wrong with ports/devel... Message-ID: <20030110225059.GF1732@crow.dom2ip.de> In-Reply-To: <20030110224115.GE1732@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <tmoestl@gmx.net> http://www.tu-bs.de/~y0015675/ <tmm@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110225059.GF1732>