aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-05-02 10:03:09 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-05-02 10:03:09 +0800
commited20beef6c8f05c78cd5637f74dc28e9aea7d4a9 (patch)
tree2b02eab3969c4d2b6062719d11fd08c35c9d5d6b /security/openssh-portable/Makefile
parent643509c4098e7b6987a8a65928a170c590207ec6 (diff)
downloadfreebsd-ports-gnome-ed20beef6c8f05c78cd5637f74dc28e9aea7d4a9.tar.gz
freebsd-ports-gnome-ed20beef6c8f05c78cd5637f74dc28e9aea7d4a9.tar.zst
freebsd-ports-gnome-ed20beef6c8f05c78cd5637f74dc28e9aea7d4a9.zip
Fix xauth and ssh-askpass still being expected in /usr/X11R6
This was fixed in base in 2007 in r169966
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r--security/openssh-portable/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 166ec5c5addd..551e943734ab 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openssh
DISTVERSION= 5.8p2
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= security ipv6
MASTER_SITES= ${MASTER_SITE_OPENBSD}
@@ -204,6 +204,9 @@ RC_SCRIPT_NAME= openssh
post-patch:
@${REINPLACE_CMD} -e 's|-ldes|-lcrypto|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|install: \(.*\) host-key check-config|install: \1|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' \
+ ${WRKSRC}/pathnames.h ${WRKSRC}/sshd_config.5 \
+ ${WRKSRC}/ssh_config.5
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \
-e 's|%%RC_SCRIPT_NAME%%|${RC_SCRIPT_NAME}|' ${WRKSRC}/sshd.8
@${REINPLACE_CMD} -E -e 's|SSH_VERSION|TMP_SSH_VERSION|' \