aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-05-02 02:03:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-05-02 02:03:09 +0000
commitf2ec55247e20aa68e7d9e1a25f43779e8d9f4897 (patch)
tree2b02eab3969c4d2b6062719d11fd08c35c9d5d6b /security/openssh-portable/Makefile
parent838d6fe4b4ad99cd79d004edcb4de0aad83fb32a (diff)
downloadports-f2ec55247e20aa68e7d9e1a25f43779e8d9f4897.tar.gz
ports-f2ec55247e20aa68e7d9e1a25f43779e8d9f4897.zip
Notes
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|' \