From 9f64821ee41bf4b8672e1d9019cbf0c689f078bb Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Thu, 16 Dec 1999 15:42:54 +0000 Subject: added USE_FORTRAN for control of the fortran compiler --- math/octave/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'math') diff --git a/math/octave/Makefile b/math/octave/Makefile index ff95daaa4ea..1cb8757cc4c 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1999/09/28 20:40:03 soren Exp $ +# $NetBSD: Makefile,v 1.13 1999/12/16 15:42:54 dmcmahill Exp $ # FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp DISTNAME= octave-2.0.13 @@ -18,10 +18,11 @@ DEPENDS+= gnuplot-3.7:../../graphics/gnuplot USE_X11= yes GNU_CONFIGURE= yes +USE_FORTRAN= yes USE_LIBTOOL= yes USE_GMAKE= yes CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include -LDFLAGS+= -L${PREFIX}/lib +LDFLAGS+= -Wl,-R${PREFIX}/lib -L${PREFIX}/lib INFO_FILES= liboctave.info octave.info LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3 @@ -40,15 +41,7 @@ post-install: .include "../../mk/bsd.prefs.mk" -GCC_VERSION!= ${CC} --version - -.if (${GCC_VERSION:C/-.*$$//} == egcs) -CONFIGURE_ARGS+= --with-g77 -FLIBS= -Lg2c -.else -DEPENDS+= f2c-19980913:../../lang/f2c -CONFIGURE_ARGS+= --with-f2c -.endif +GCC_VERSION!= ${CC} --version post-patch: .if (${GCC_VERSION:C/-.*$$//} == egcs) -- cgit v1.2.3