summaryrefslogtreecommitdiff
path: root/math/xmgr
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-05 04:19:00 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-05 04:19:00 +0000
commitd981eb39212bafff574e36bb21119c7bdb90585e (patch)
treef8d50caf5fee9c95599d3ccc7dca995a9b9b6701 /math/xmgr
parentc132e11848a00ae6f0e9dbc7618a5f045b91ff52 (diff)
downloadpkgsrc-d981eb39212bafff574e36bb21119c7bdb90585e.tar.gz
Don't depend on the fort77 package if there's a fort77 in /usr/bin
Diffstat (limited to 'math/xmgr')
-rw-r--r--math/xmgr/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/math/xmgr/Makefile b/math/xmgr/Makefile
index 0484017923d..3c24283dfdd 100644
--- a/math/xmgr/Makefile
+++ b/math/xmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/02/10 12:54:26 frueauf Exp $
+# $NetBSD: Makefile,v 1.2 1999/04/05 04:19:00 hubertf Exp $
# FreeBSD Id: Makefile,v 1.13 1998/12/12 22:27:21 jseger Exp
#
@@ -14,10 +14,14 @@ MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
MAINTAINER= packages@NetBSD.org
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Xmgr/
-BUILD_DEPENDS= bison:../../devel/bison
-DEPENDS+= xpm-3.4k:../../graphics/xpm
+# This isn't a good solution as any binary packages built from this
+# will have the one or other dependencies compiled in.
+.if ! exists(/usr/bin/fort77)
DEPENDS+= fort77-1.14a:../../lang/fort77
+.endif
+DEPENDS+= xpm-3.4k:../../graphics/xpm
DEPENDS+= netcdf-3.4:../../devel/netcdf
+BUILD_DEPENDS= bison:../../devel/bison
USE_X11= YES
USE_MOTIF= YES