From 88a8d86a4157e88596d26eb537c8d93d5b1b4683 Mon Sep 17 00:00:00 2001 From: maho Date: Mon, 10 May 2004 18:25:13 +0000 Subject: This version of octave-forge doens't compile any more with the good old gcc-2.95. The newly introduced xmlread-stuff requires >gcc-3.x. Maintainer doens't mark this port as broken, but set USE_GCC instead. Suggested by: Kay Lehmann --- math/octave-forge/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/math/octave-forge/Makefile b/math/octave-forge/Makefile index ff464a5..5cd94aa 100644 --- a/math/octave-forge/Makefile +++ b/math/octave-forge/Makefile @@ -22,6 +22,14 @@ USE_GMAKE= yes GNU_CONFIGURE= yes ALL_TARGET= # empty USE_REINPLACE= yes +CONFIGURE_ARGS= --with-cc=${CC} \ + --with-cxx=${CXX} + +.include + +.if ${OSVERSION} < 501000 +USE_GCC=3.3 +.endif GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} PLIST_SUB= OCTAVE_VERSION="`${LOCALBASE}/bin/octave-config -v`" GNU_HOST=${GNU_HOST} @@ -32,4 +40,4 @@ post-configure: @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/main/sparse/buildtests.sh @${REINPLACE_CMD} -e 's+#! /bin/sh+#! ${LOCALBASE}/bin/bash+g;' ${WRKSRC}/octinst.sh -.include +.include -- cgit v1.1