pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/scilab gcc44/g95 build fix
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a4c227d8034
branches: trunk
changeset: 399900:8a4c227d8034
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Thu Oct 08 01:24:03 2009 +0000
description:
gcc44/g95 build fix
diffstat:
math/scilab/Makefile | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 7edb34c42331 -r 8a4c227d8034 math/scilab/Makefile
--- a/math/scilab/Makefile Wed Oct 07 23:58:50 2009 +0000
+++ b/math/scilab/Makefile Thu Oct 08 01:24:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2008/12/05 19:02:09 ahoka Exp $
+# $NetBSD: Makefile,v 1.78 2009/10/08 01:24:03 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}-src
@@ -47,6 +47,16 @@
MAKE_ENV+= PVM_ROOT=${PVM_ROOT:Q}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
+# FIXME -- this ugly hack will go away on newer versions of scilab where the build
+# system has been improved significantly see:
+#
+# scilab-4.1/routines/os_specific/getarg.c
+#
+.include "../../mk/compiler.mk"
+. if !empty(FC:Mgfortran) || !empty(PKGSRC_FORTRAN:Mg95)
+CFLAGS+= -DG95_FORTRAN=1
+.endif
+
PVM_ROOT?= ${LOCALBASE}/pvm3
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT:Q}
CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
Home |
Main Index |
Thread Index |
Old Index