pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/pvm3 Added PVM_SSH to BUILD_DEFS and removed ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fc42d12b1d9
branches:  trunk
changeset: 516305:6fc42d12b1d9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jul 18 20:57:31 2006 +0000

description:
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:

 parallel/pvm3/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 59f27af22075 -r 6fc42d12b1d9 parallel/pvm3/Makefile
--- a/parallel/pvm3/Makefile    Tue Jul 18 20:37:31 2006 +0000
+++ b/parallel/pvm3/Makefile    Tue Jul 18 20:57:31 2006 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index