diff options
author | tnn <tnn> | 2009-10-11 23:17:03 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-10-11 23:17:03 +0000 |
commit | b3a14eb5c7f5a571294c7f51232a9a1ec9800e90 (patch) | |
tree | 5a7313274ab26e71d8135f23109b7195cb60de7c | |
parent | 1bd2c1e75809b9aa149784b3f5c0efbf328c45dc (diff) | |
download | pkgsrc-b3a14eb5c7f5a571294c7f51232a9a1ec9800e90.tar.gz |
guard against undefined PKGSRC_FORTRAN. Caught by pbulk on Solaris.
-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 |