summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-05 04:13:20 +0000
committerjlam <jlam>2002-02-05 04:13:20 +0000
commit20d22ede90fe243d2f33f720b5e4231e02ae4a3a (patch)
tree061c9be2fd5e4d01f4f0c1ac939b40870c1222a4 /security
parentd41ed8b1f9dfb7a40372cc4ca2b0d9e29437dcb8 (diff)
downloadpkgsrc-20d22ede90fe243d2f33f720b5e4231e02ae4a3a.tar.gz
SSH_CONF_DIR has been deprecated. Use PKG_SYSCONFDIR instead.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 59d11dbe49a..f7b19097336 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2002/01/08 09:36:52 agc Exp $
+# $NetBSD: Makefile,v 1.97 2002/02/05 04:13:20 jlam Exp $
# FreeBSD Id: Makefile,v 1.47 1997/11/10 22:04:42 dima Exp
#
@@ -31,8 +31,7 @@ GNU_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
-# Use SSH_CONF_DIR from /etc/mk.conf, if defined; otherwise default to /etc
-SSH_CONF_DIR?= /etc
+SSH_CONF_DIR= ${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-etcdir=${SSH_CONF_DIR}
@@ -196,7 +195,7 @@ post-install:
fi
${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd
-BUILD_DEFS+= USE_IDEA SSH_CONF_DIR SSH_SUID USE_RSAREF2
+BUILD_DEFS+= USE_IDEA PKG_SYSCONFDIR SSH_SUID USE_RSAREF2
BUILD_DEFS+= LIBWRAP_FWD M68060 USE_SOCKS
.include "../../mk/bsd.pkg.mk"