diff options
Diffstat (limited to 'parallel')
-rw-r--r-- | parallel/pvm3/Makefile | 12 | ||||
-rw-r--r-- | parallel/pvm3/pkg/PLIST | 6 |
2 files changed, 14 insertions, 4 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile index c2eca8e25d1..1f42cd11dfe 100644 --- a/parallel/pvm3/Makefile +++ b/parallel/pvm3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1998/11/04 18:08:45 garbled Exp $ +# $NetBSD: Makefile,v 1.5 1999/01/01 23:42:58 garbled Exp $ DISTNAME= pvm3.4.beta7 PKGNAME= pvm-3.4.7 @@ -15,6 +15,16 @@ 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 +.else +F77=f2c +BUILD_DEPENDS+= f2c:../../lang/f2c +.endif +MAKE_FLAGS+= F77=${F77} + post-patch: @${MV} ${WRKSRC}/lib/pvm ${WRKSRC}/lib/pvm.in @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' < ${WRKSRC}/lib/pvm.in > ${WRKSRC}/lib/pvm diff --git a/parallel/pvm3/pkg/PLIST b/parallel/pvm3/pkg/PLIST index 89f10bfda10..0f5981edbbc 100644 --- a/parallel/pvm3/pkg/PLIST +++ b/parallel/pvm3/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 1998/11/04 18:08:45 garbled Exp $ +@comment $NetBSD: PLIST,v 1.3 1999/01/01 23:42:58 garbled Exp $ libexec/pvmd3 libexec/pvm bin/dbwtest @@ -231,5 +231,5 @@ include/pvmproto.h include/pvmtev.h lib/libpvm3.a lib/libpvmtrc.a -lib/libfpvm.a -lib/libgpvm.a +lib/libfpvm3.a +lib/libgpvm3.a |