diff options
author | agc <agc> | 1999-06-28 11:56:03 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-28 11:56:03 +0000 |
commit | 34cb468ec19b244ef7fb6b327d4cb82ec46499e9 (patch) | |
tree | 2b86ca2b8b3c943d6c461d7c1e3cb18543e3cd8e /parallel/pvm3/Makefile | |
parent | 0817c94a3504bbe4642d53f715f1b355b0f8daf5 (diff) | |
download | pkgsrc-34cb468ec19b244ef7fb6b327d4cb82ec46499e9.tar.gz |
Do the test for /usr/bin/f77's existence a different and radical way -
use ".if exists"
Diffstat (limited to 'parallel/pvm3/Makefile')
-rw-r--r-- | parallel/pvm3/Makefile | 10 |
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} |