From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 2 17:09:55 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08ED316A4CE for ; Sun, 2 May 2004 17:09:55 -0700 (PDT) Received: from huva.hittite.isp.9tel.net (huva.hittite.isp.9tel.net [62.62.156.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7599E43D54 for ; Sun, 2 May 2004 17:09:54 -0700 (PDT) (envelope-from cyrille.lefevre@laposte.net) Received: from mail.gits.dyndns.org (22-61-118-80.kaptech.net [80.118.61.22]) by huva.hittite.isp.9tel.net (Postfix) with ESMTP id 4F5F79BB4E for ; Mon, 3 May 2004 02:11:07 +0200 (CEST) Received: from gits.gits.fr.invalid (IDENT:5elu5549zbgpar8a@localhost [127.0.0.1])i4309DJG086577 for ; Mon, 3 May 2004 02:09:13 +0200 (CEST) (envelope-from cyrille.lefevre@laposte.net) Received: by gits.gits.fr.invalid (tmda-sendmail, from uid 0); Mon, 03 May 2004 02:06:34 +0200 (CEST) Date: Mon, 3 May 2004 02:06:21 +0200 To: Mark Linimon Message-ID: <20040503000621.GA8148@gits.dyndns.org> References: <200404291938.i3TJcVNU082408@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404291938.i3TJcVNU082408@freefall.freebsd.org> Organization: ACME X-Face: V|+c; 4!|B?E%BE^{E6); aI.[< Mail-Followup-To: cyrille.lefevre@laposte.net, linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org X-Spam-Status: No, hits=-100 required=5 tests=USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.39 cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/65009: Maintainer update: lang/gforth (build fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 00:09:55 -0000 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