diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 1999-12-16 15:42:54 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 1999-12-16 15:42:54 +0000 |
commit | 448e38d0ee7f9f03d15f9360cc2c24dee33a428b (patch) | |
tree | 97f265f4ef9827abe52154c82e113fb5c1da1d89 /math/octave | |
parent | 7cc66133031540ce6171d0cfae128641a39977c1 (diff) | |
download | pkgsrc-448e38d0ee7f9f03d15f9360cc2c24dee33a428b.tar.gz |
added USE_FORTRAN for control of the fortran compiler
Diffstat (limited to 'math/octave')
-rw-r--r-- | math/octave/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
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) |