Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 13:24:30 +0900 (JST)
From:      Maho NAKATA <chat95@mac.com>
To:        stephen@math.missouri.edu, portmgr@FreeBSD.org
Cc:        maho@freeBSD.org, ports@freeBSD.org
Subject:   Re: octave-forge on FreeBSD 7.0
Message-ID:  <20071119.132430.232757505.chat95@mac.com>
In-Reply-To: <474106CB.9060700@math.missouri.edu>
References:  <474106CB.9060700@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear portmgr@ and Stephen

Portmgr@:

Stephen Montgomery-Smith <stephen@math.missouri.edu>
reported that applying following patch will unbreak
for FBSD7. Could you please approve my commit?

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/octave-forge/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    1 Oct 2007 09:34:23 -0000       1.19
+++ Makefile    19 Nov 2007 04:22:31 -0000
@@ -36,9 +36,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 700042
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-BROKEN=                Does not compile with GCC 4.2
-.endif
+USE_GCC=       3.4
 .endif
 
 GNU_HOST=      ${ARCH}-portbld-freebsd${OSREL}
cvs diff: Diffing files


From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Subject: octave-forge on FreeBSD 7.0
Date: Sun, 18 Nov 2007 21:45:15 -0600

Stephen:

> I noticed that you added lines like:
> 
> .if ${OSVERSION} >= 700042
> .if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
> BROKEN=         Does not compile with GCC 4.2
> .endif
> .endif

No, linimon added :)
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Oct 1 09:34:23 2007 UTC (6 weeks, 6 days ago) by linimon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2 lines

Mark as broken with gcc4.2 on 64-bit archs.  While here, remove obsolete
cruft.

> to the Makefile of math/octave-forge.  But it also doesn't build on my 
> i386 FreeBSD 7.0 machine.

:(

> How about doing something more simple like:
> 
> .if ${OSVERSION} >= 700042
> USE_GCC=	3.4
> .endif
> 
> which works great in my situation.

Thanks for your report. I ask portmgr@ for commit approval.

Thanks,
-- Nakata Maho (maho@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071119.132430.232757505.chat95>