summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authoragc <agc>1999-06-28 11:56:03 +0000
committeragc <agc>1999-06-28 11:56:03 +0000
commit5ce05870d4bee4fdb399a2f85f18be35baa5975f (patch)
tree2b86ca2b8b3c943d6c461d7c1e3cb18543e3cd8e /parallel
parentfd6f3ac38a971f389a801434ffbb5e89d84864fc (diff)
downloadpkgsrc-5ce05870d4bee4fdb399a2f85f18be35baa5975f.tar.gz
Do the test for /usr/bin/f77's existence a different and radical way -
use ".if exists"
Diffstat (limited to 'parallel')
-rw-r--r--parallel/pvm3/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile
index aaeaa1bb6aa..56887d61885 100644
--- a/parallel/pvm3/Makefile
+++ b/parallel/pvm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/04/26 20:29:35 garbled Exp $
+# $NetBSD: Makefile,v 1.7 1999/06/28 11:56:03 agc Exp $
DISTNAME= pvm3.4.beta7
PKGNAME= pvm-3.4.7
@@ -16,12 +16,10 @@ WRKSRC= ${WRKDIR}/pvm3
MAKE_ENV+= PVM_ROOT=${WRKSRC}
ALL_TARGET= all install
-_HAVE_F77!= if [ -e /usr/bin/f77 ]; then echo "YES"; else echo "NO"; fi
-
-.if (${_HAVE_F77} == "YES")
-F77= /usr/bin/f77
+.if exists(/usr/bin/f77)
+F77= /usr/bin/f77
.else
-F77=f2c
+F77= f2c
BUILD_DEPENDS+= f2c:../../lang/f2c
.endif
MAKE_FLAGS+= F77=${F77}