aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/hpn-ssh/Makefile6
-rw-r--r--security/openssh-portable/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile
index 472fc894bde9..34b9e03d96df 100644
--- a/security/hpn-ssh/Makefile
+++ b/security/hpn-ssh/Makefile
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-pam
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
+.if defined(OPENSSH_OVERWRITE_BASE)
+PREFIX= /usr
+CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+ --sysconfdir=/etc/ssh --localstatedir=/var \
+.endif
+
.if defined(BATCH)
EXTRA_PATCHES+= ${FILESDIR}/batch.patch
.endif
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 472fc894bde9..34b9e03d96df 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-pam
CONFIGURE_ARGS+= --with-tcp-wrappers
.endif
+.if defined(OPENSSH_OVERWRITE_BASE)
+PREFIX= /usr
+CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \
+ --sysconfdir=/etc/ssh --localstatedir=/var \
+.endif
+
.if defined(BATCH)
EXTRA_PATCHES+= ${FILESDIR}/batch.patch
.endif