diff options
author | tnn <tnn@pkgsrc.org> | 2009-10-11 23:17:03 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-10-11 23:17:03 +0000 |
commit | c74a13328334e46a41888ba0852703bc38659a10 (patch) | |
tree | 5a7313274ab26e71d8135f23109b7195cb60de7c /math/scilab/Makefile | |
parent | 553d2b9d56fed06f49d87f09355bfb9782d359ac (diff) | |
download | pkgsrc-c74a13328334e46a41888ba0852703bc38659a10.tar.gz |
guard against undefined PKGSRC_FORTRAN. Caught by pbulk on Solaris.
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r-- | math/scilab/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 11c840216a4..72631348f85 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -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 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q} # 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 |