summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/hpn-ssh/Makefile3
-rw-r--r--security/openssh-portable/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index 439526cfbfe4..2e92eb8fa349 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/Makefile
@@ -38,7 +38,8 @@ CONFIGURE_ARGS+= --with-tcp-wrappers
.if defined(OPENSSH_OVERWRITE_BASE)
PREFIX= /usr
-CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+MANPREFIX= ${PREFIX}/share
+CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
--sysconfdir=/etc/ssh --localstatedir=/var
.endif
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 439526cfbfe4..2e92eb8fa349 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -38,7 +38,8 @@ CONFIGURE_ARGS+= --with-tcp-wrappers
.if defined(OPENSSH_OVERWRITE_BASE)
PREFIX= /usr
-CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+MANPREFIX= ${PREFIX}/share
+CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
--sysconfdir=/etc/ssh --localstatedir=/var
.endif