summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-06-28 11:56:03 +0000
committeragc <agc@pkgsrc.org>1999-06-28 11:56:03 +0000
commit5784f7fee1547857712e9b3bfde350448a8d869f (patch)
tree2b86ca2b8b3c943d6c461d7c1e3cb18543e3cd8e /parallel/pvm3
parent6b6a302f6cc9005ff312d305fcb77ee11081f533 (diff)
downloadpkgsrc-5784f7fee1547857712e9b3bfde350448a8d869f.tar.gz
Do the test for /usr/bin/f77's existence a different and radical way -
use ".if exists"
Diffstat (limited to 'parallel/pvm3')
-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}