ports/65009: Maintainer update: lang/gforth (build fix)

Cyrille Lefevre cyrille.lefevre at laposte.net
Mon May 3 00:09:55 UTC 2004


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 at laposte.net



More information about the freebsd-ports-bugs mailing list