summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-07-30 12:30:50 +0000
committermaya <maya@pkgsrc.org>2017-07-30 12:30:50 +0000
commita471ebbbe63b1c661441d73b70d2a210d02182da (patch)
tree9be8a6ce6d59a217c5aedd3eb3d75650255fe4af /math
parentbe046c42d532e34d38cab4091627f5ad5def1963 (diff)
downloadpkgsrc-a471ebbbe63b1c661441d73b70d2a210d02182da.tar.gz
hack: force disable a configure test.
Fixes build with PKGSRC_FORTRAN=gfortran (6.4) on netbsd. resulting binary works fine. I suspect the issue is that the wrong gcc (one without fortran support) is invoked.
Diffstat (limited to 'math')
-rw-r--r--math/octave/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 8fce70322f6..559a25c651f 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152 2017/07/03 13:40:00 maya Exp $
+# $NetBSD: Makefile,v 1.153 2017/07/30 12:30:50 maya Exp $
DISTNAME= octave-4.2.0
PKGREVISION= 10
@@ -51,6 +51,9 @@ CONFIGURE_ARGS.Darwin+= --without-OSMesa
# We use this to install .oct files so it doesn't strip them.
CONFIGURE_ENV+= INSTALL_LIB=${INSTALL_LIB:Q}
+# XXX Shared object "libgfortran.so.3" not found
+CONFIGURE_ENV+= octave_cv_sizeof_fortran_integer=yes
+
.include "options.mk"
INFO_FILES= yes