pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave hack: force disable a configure test.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24f58919a98e
branches:  trunk
changeset: 365921:24f58919a98e
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jul 30 12:30:50 2017 +0000

description:
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:

 math/octave/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 60f9c0ed5b64 -r 24f58919a98e math/octave/Makefile
--- a/math/octave/Makefile      Sun Jul 30 11:03:18 2017 +0000
+++ b/math/octave/Makefile      Sun Jul 30 12:30:50 2017 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index