pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/scilab guard against undefined PKGSRC_FORTRAN. Ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/920e421a5e59
branches:  trunk
changeset: 566000:920e421a5e59
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Oct 11 23:17:03 2009 +0000

description:
guard against undefined PKGSRC_FORTRAN. Caught by pbulk on Solaris.

diffstat:

 math/scilab/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 045231ad8305 -r 920e421a5e59 math/scilab/Makefile
--- a/math/scilab/Makefile      Sun Oct 11 20:50:48 2009 +0000
+++ b/math/scilab/Makefile      Sun Oct 11 23:17:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2009/10/08 01:24:03 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.79 2009/10/11 23:17:03 tnn Exp $
 #
 
 DISTNAME=      ${SCIBASE}-src
@@ -53,7 +53,7 @@
 #   scilab-4.1/routines/os_specific/getarg.c
 #
 .include "../../mk/compiler.mk"
-.  if !empty(FC:Mgfortran) || !empty(PKGSRC_FORTRAN:Mg95)
+.  if !empty(FC:Mgfortran) || (defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95))
 CFLAGS+=               -DG95_FORTRAN=1
 .endif
 



Home | Main Index | Thread Index | Old Index