summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-Makefile.inc')
-rw-r--r--security/openssh/files/patch-Makefile.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/security/openssh/files/patch-Makefile.inc b/security/openssh/files/patch-Makefile.inc
new file mode 100644
index 000000000000..d4874c8b85c7
--- /dev/null
+++ b/security/openssh/files/patch-Makefile.inc
@@ -0,0 +1,23 @@
+--- Makefile.inc.orig Sun Jul 29 16:00:07 2001
++++ Makefile.inc Wed Oct 3 13:49:31 2001
+@@ -17,10 +17,16 @@
+
+ .include <bsd.obj.mk>
+
+-.if exists(${.CURDIR}/../lib/${__objdir})
+-LDADD+= -L${.CURDIR}/../lib/${__objdir} -lssh
+-DPADD+= ${.CURDIR}/../lib/${__objdir}/libssh.a
+-.else
++AFS?= no
++KERBEROS?= no
++KERBEROS5?= no
++PAM?= no
++SKEY?= no
++TCP_WRAPPERS?= yes
++
++CFLAGS+= -I${OPENSSLINC} ${INET6FLAGS}
++
++.if !defined(IGNORE_LIBSSH)
+ LDADD+= -L${.CURDIR}/../lib -lssh
+ DPADD+= ${.CURDIR}/../lib/libssh.a
+ .endif