summaryrefslogtreecommitdiff
path: root/parallel/glunix/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-10-10 19:09:26 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-10-10 19:09:26 +0000
commit69d361149a2eddd472bc774e3b881806b21e58a1 (patch)
tree95c0fbf0dd1a51390b568350ebafe427e1378a91 /parallel/glunix/Makefile
parent884cbb1d85e9bb6f85d89d12ab216c19b1e12968 (diff)
downloadpkgsrc-69d361149a2eddd472bc774e3b881806b21e58a1.tar.gz
set SSH and pass down to build environment so the currect ssh gets found
(either the base system one or pkgsrc if ssh isn't in the base system)
Diffstat (limited to 'parallel/glunix/Makefile')
-rw-r--r--parallel/glunix/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile
index 34f3ed0539d..a0715a8ef39 100644
--- a/parallel/glunix/Makefile
+++ b/parallel/glunix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2000/10/10 15:02:13 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.13 2000/10/10 19:09:26 dmcmahill Exp $
DISTNAME= glunix-release-1-0a
PKGNAME= glunix-1.0a
@@ -10,8 +10,11 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} makedepend${EXTRACT_SUFX}
MAINTAINER= root@garbled.net
HOMEPAGE= http://now.cs.berkeley.edu/Glunix/glunix.html
-.if !exists(/usr/bin/ssh)
+.if exists(/usr/bin/ssh)
+SSH= /usr/bin/ssh
+.else
DEPENDS+= {openssh-*,ssh{,6}-1.2.27}:../../security/ssh
+SSH= ${LOCALBASE}/ssh
.endif
USE_GMAKE= yes
@@ -30,6 +33,7 @@ FLAGS= "-m486 -DL_ENDIAN"
MAKE_ENV+= OPSYS=${OPSYS} ARCH=${MACHINE_ARCH} NOW_ROOT=${NOW_ROOT}
MAKE_ENV+= PORTSDIR=${PKGDIR} WRKDIR=${WRKDIR} FLAGS=${FLAGS}
+MAKE_ENV+= SSH=${SSH}
SCRIPTS_ENV+= ARCH=${MACHINE_ARCH} RM=${RM} NOW_ROOT=${NOW_ROOT}