summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-18 20:57:31 +0000
committerrillig <rillig@pkgsrc.org>2006-07-18 20:57:31 +0000
commitd50e117e5b978883d2610447de6fab499213c198 (patch)
tree2b7a7d9f1e45c0c186eaf26c6e995cc4e45ad6f8 /parallel/pvm3
parent04b83eccb3bc50db1806a894d1e19ea395f110f9 (diff)
downloadpkgsrc-d50e117e5b978883d2610447de6fab499213c198.tar.gz
Added PVM_SSH to BUILD_DEFS and removed the code that has been
duplicated from mk/defaults/mk.conf. Added "c" to USE_LANGUAGES, since this package needs a C compiler, too. Bumped PKGREVISION.
Diffstat (limited to 'parallel/pvm3')
-rw-r--r--parallel/pvm3/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile
index b184ddc950f..89a9f415a02 100644
--- a/parallel/pvm3/Makefile
+++ b/parallel/pvm3/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2006/05/21 13:04:10 rillig Exp $
+# $NetBSD: Makefile,v 1.44 2006/07/18 20:57:31 rillig Exp $
DISTNAME= pvm3.4.5
PKGNAME= pvm-3.4.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= parallel
MASTER_SITES= http://www.netlib.org/pvm3/
EXTRACT_SUFX= .tgz
@@ -11,15 +11,19 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.epm.ornl.gov/pvm/pvm_home.html
COMMENT= Parallel Virtual Machine libraries and environment
-.if exists(/usr/bin/ssh)
-PVM_SSH?= /usr/bin/ssh
+.include "../../mk/bsd.prefs.mk"
+BUILD_DEFS+= PVM_SSH
+
+.if !defined(PVM_SSH)
+PKG_FAIL_REASON+= PVM_SSH must be defined by the pkgsrc user.
.else
+. if ${PVM_SSH:M${LOCALBASE}/*} != ""
DEPENDS+= {openssh-[0-9]*,ssh{,6}-1.2.27*}:../../security/openssh
-PVM_SSH?= ${LOCALBASE}/bin/ssh
+. endif
.endif
WRKSRC= ${WRKDIR}/pvm3
-USE_LANGUAGES= fortran
+USE_LANGUAGES= c fortran
USE_LIBTOOL= yes
USE_TOOLS+= gmake