aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-04-22 20:56:26 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-04-22 20:56:26 +0000
commit8c3db55d90aff4383c2de0cea9524508be82b668 (patch)
treeed13b66e5c00f05db5cbc0985b93986e9e4f8d60
parente9a188b08d48d09d750f3a5bc89caec8e8929342 (diff)
downloadports-8c3db55d90aff4383c2de0cea9524508be82b668.tar.gz
ports-8c3db55d90aff4383c2de0cea9524508be82b668.zip
- Register dependency on x11/XFree86-4-clients for xauth(1).
- Make configure explicitly look in X11BASE/bin for xauth(1) in order to also catch non-standard locations. Submitted by: maintainer (marius) Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=107797
-rw-r--r--security/ssh2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 95a8eb891327..9615e72cc9f2 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ssh2
PORTVERSION= 3.2.9.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security ipv6
# The list of official mirror sites is at:
# http://www.ssh.com/support/downloads/secureshellserver/non-commercial.html
@@ -92,6 +92,10 @@ EXTRA_PATCHES+= ${FILESDIR}/kerberos-patch-apps::ssh::ssh2_config \
.endif
.if !defined(WITHOUT_X11)
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS+= ${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS+= ${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients
+.endif
USE_XLIB= yes
PLIST_SUB+= WITH_X11:=""
.else
@@ -137,6 +141,9 @@ post-patch:
.endfor
@${REINPLACE_CMD} -e 's|\/etc\/ssh2|${PREFIX}&|g' \
${WRKSRC}/HOWTO.anonymous.sftp
+ @${REINPLACE_CMD} -e \
+ 's|$$PATH:\/usr\/X11R6\/bin:\/usr\/X11\/bin|${X11BASE}\/bin|' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -E -e 's|\$$\(ETCDIR\)|${PREFIX}\/etc|g' \
${WRKSRC}/apps/ssh/ssh_dummy_shell.out
@${REINPLACE_CMD} -E -e 's|(^TESTS.+)(t-filecopy)|\1|g' \