summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-04-05 04:19:00 +0000
committerhubertf <hubertf>1999-04-05 04:19:00 +0000
commit9093454ab873e88b490cad7dbc1be921f4818d34 (patch)
treef8d50caf5fee9c95599d3ccc7dca995a9b9b6701 /math
parent8c3c3bc53232bda2155c2a62fb229ca4d83b5a87 (diff)
downloadpkgsrc-9093454ab873e88b490cad7dbc1be921f4818d34.tar.gz
Don't depend on the fort77 package if there's a fort77 in /usr/bin
Diffstat (limited to 'math')
-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