octave-forge on FreeBSD 7.0

Maho NAKATA chat95 at mac.com
Sun Nov 18 20:49:14 PST 2007


Dear portmgr@ and Stephen

Portmgr@:

Stephen Montgomery-Smith <stephen at 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 at 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 at FreeBSD.org)


More information about the freebsd-ports mailing list