Skip to content

Commit

Permalink
Added PVM_SSH to BUILD_DEFS and removed the code that has been
Browse files Browse the repository at this point in the history
duplicated from mk/defaults/mk.conf. Added "c" to USE_LANGUAGES, since
this package needs a C compiler, too. Bumped PKGREVISION.
  • Loading branch information
rillig committed Jul 18, 2006
1 parent c318823 commit 99efcfd
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions parallel/pvm3/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -11,15 +11,19 @@ MAINTAINER= [email protected]
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

Expand Down

0 comments on commit 99efcfd

Please sign in to comment.