Date: Mon, 3 May 2004 02:06:21 +0200 From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: Mark Linimon <linimon@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/65009: Maintainer update: lang/gforth (build fix) Message-ID: <20040503000621.GA8148@gits.dyndns.org> In-Reply-To: <200404291938.i3TJcVNU082408@freefall.freebsd.org> References: <200404291938.i3TJcVNU082408@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 29, 2004 at 12:38:31PM -0700, Mark Linimon wrote: > Synopsis: Maintainer update: lang/gforth (build fix) > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Thu Apr 29 12:37:01 PDT 2004 > State-Changed-Why: > I can't get this to build on 4.9: [snip] > Can the submitter confirm this? (Also, the original patch seemed to well, don't remember that 4.x have a different compiler than 5.x :( so, just tried to compile w/ gcc295 (from ports) as suggested by : http://www.complang.tuwien.ac.at/forth/gforth/Known-problems.html and I get the same error message ! let's try w/ gcc331 under 4.x... it works under 5.x using -fno-reorder-blocks. > leave two inclusions of bsd.port.pre.mk, I deleted the latter one). strange, I've only one ! thanks anyway. PS : GCCVERSION should be moved from bsd.port.post.mk to bsd.port.pre.mk, so, it would be possible to specify different compiler flags depending on the compiler version. --- Makefile.old Thu Apr 8 17:39:15 2004 +++ Makefile Mon May 3 02:01:37 2004 @@ -30,6 +30,7 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes USE_GMAKE= yes +USE_GCC= 3.3 CONFIGURE_ENV= CFLAGS="${CFLAGS:N-O*:N-f*} ${_CFLAGS}" CONFIGURE_ARGS= --enable-force-reg CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-${OPSYS:L}${OSREL} @@ -59,10 +60,10 @@ .endif _CFLAGS= #none -.if ${OSVERSION} >= 501103 # aka ${GCCVERSION} >= 030300 +# .if ${OSVERSION} >= 501103 # aka ${GCCVERSION} >= 030300 # http://www.complang.tuwien.ac.at/forth/gforth/Known-problems.html _CFLAGS+= -fno-reorder-blocks -.endif +# .endif DOC_FILES= AUTHORS BUGS Benchres COPYING COPYING.DOC \ INSTALL INSTALL.BINDIST NEWS README \ Cyrille Lefevre -- mailto:cyrille.lefevre@laposte.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040503000621.GA8148>