aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/sftp
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2006-05-13 13:47:45 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2006-05-13 13:47:45 +0000
commited22e27d8a1315950938ff1080b06b31aa0df3bb (patch)
tree74ec58d937814ef5ae4b74379961ddfd2a9fc64e /secure/usr.bin/sftp
parent2d39807f07592a8d92bd18ab388bd331af84dd66 (diff)
downloadsrc-ed22e27d8a1315950938ff1080b06b31aa0df3bb.tar.gz
src-ed22e27d8a1315950938ff1080b06b31aa0df3bb.zip
Introduce a namespace munging hack inspired by NetBSD to avoid polluting
the namespace of applications which inadvertantly link in libssh (usually through pam_ssh) Suggested by: lukem@netbsd.org MFC after: 6 weeks
Notes
Notes: svn path=/head/; revision=158519
Diffstat (limited to 'secure/usr.bin/sftp')
-rw-r--r--secure/usr.bin/sftp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure/usr.bin/sftp/Makefile b/secure/usr.bin/sftp/Makefile
index 08512e860457..4a4265960de9 100644
--- a/secure/usr.bin/sftp/Makefile
+++ b/secure/usr.bin/sftp/Makefile
@@ -2,7 +2,7 @@
PROG= sftp
SRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c progressmeter.c
-CFLAGS+=-I${SSHDIR}
+CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} ${LIBEDIT}
LDADD= -lssh -lcrypt -lcrypto -lz -ledit