diff options
author | sem <sem@FreeBSD.org> | 2005-02-10 07:43:49 +0000 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-02-10 07:43:49 +0000 |
commit | ebd23c9bdd5eed20ea50d50c6dcf39cb1a1e1c14 (patch) | |
tree | 04de972a4d3d4207deff7bb1e99e67b62c786e1a /math/octave-devel | |
parent | 61180a3af0915d1b9ace70bc0eaf9f08657c13f5 (diff) | |
download | FreeBSD-ports-ebd23c9bdd5eed20ea50d50c6dcf39cb1a1e1c14.zip FreeBSD-ports-ebd23c9bdd5eed20ea50d50c6dcf39cb1a1e1c14.tar.gz |
- Use more graceful way to unbreak on amd64
PR: ports/74669
Submitted by: Roland Smith <rsmith(at)xs4all.nl>
Diffstat (limited to 'math/octave-devel')
-rw-r--r-- | math/octave-devel/Makefile | 9 | ||||
-rw-r--r-- | math/octave-devel/files/patch-glob::Makefile.in | 11 |
2 files changed, 13 insertions, 7 deletions
diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile index d76776c..55f677c 100644 --- a/math/octave-devel/Makefile +++ b/math/octave-devel/Makefile @@ -40,13 +40,8 @@ BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -lcblas -latlas" USE_GMAKE= yes GNU_CONFIGURE= yes -CONIGURE_ARGS= --host=${GNU_HOST} \ - --with-fftw --with-blas=${BLAS_LIBS} --with-lapack=-lalapack -.if ${ARCH} == "amd64" -CONFIGURE_ARGS+= --disable-shared -.else -CONFIGURE_ARGS+= --enable-shared -.endif +CONIGURE_ARGS= --host=${GNU_HOST} --with-fftw --with-blas=${BLAS_LIBS} \ + --with-lapack=-lalapack --enable-shared CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ diff --git a/math/octave-devel/files/patch-glob::Makefile.in b/math/octave-devel/files/patch-glob::Makefile.in new file mode 100644 index 0000000..8a80c4b --- /dev/null +++ b/math/octave-devel/files/patch-glob::Makefile.in @@ -0,0 +1,11 @@ +--- glob/Makefile.in.orig Wed Feb 9 14:43:01 2005 ++++ glob/Makefile.in Wed Feb 9 14:43:13 2005 +@@ -25,7 +25,7 @@ + + CC = @CC@ + CPPFLAGS = @CPPFLAGS@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CFLAGS@ -fPIC + + # Information determined by configure. + DEFS = @DEFS@ |