summaryrefslogtreecommitdiff
path: root/devel/netcdf
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-05 03:56:33 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-05 03:56:33 +0000
commitc132e11848a00ae6f0e9dbc7618a5f045b91ff52 (patch)
treec6ad48c00b57543b792d867ddf53bb1d6f279692 /devel/netcdf
parent03ef7a25f3eb05f35015c14f6bd5df572e1e73a1 (diff)
downloadpkgsrc-c132e11848a00ae6f0e9dbc7618a5f045b91ff52.tar.gz
Don't depend on the fort77 package if there's one in /usr/bin
Diffstat (limited to 'devel/netcdf')
-rw-r--r--devel/netcdf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/netcdf/Makefile b/devel/netcdf/Makefile
index d19b18299f8..dd1c9fb1966 100644
--- a/devel/netcdf/Makefile
+++ b/devel/netcdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/01/14 20:28:53 frueauf Exp $
+# $NetBSD: Makefile,v 1.2 1999/04/05 03:56:33 hubertf Exp $
#
DISTNAME= netcdf-3.4
@@ -11,7 +11,9 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.unidata.ucar.edu/packages/netcdf/index.html
+.if ! exists(/usr/bin/fort77)
DEPENDS+= fort77-1.14a:../../lang/fort77
+.endif
CONFIGURE_ENV+= CPPFLAGS="-Df2cFortran -Dunix"