summaryrefslogtreecommitdiff
path: root/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-26 04:08:16 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-26 04:08:58 +0000
commit7e8ab83f6c92013a27fe9dfc4b02f738cb8ff51c (patch)
tree8be07cc93acb235b21f92b2eefb55e635154d317 /ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD
parentemulators/citra: update to s20210822 (diff)
ftp/bsdftpd-ssl: convert to modern OpenSSL and unbreak the build on -CURRENT.
Diffstat (limited to 'ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD')
-rw-r--r--ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD17
1 files changed, 17 insertions, 0 deletions
diff --git a/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD b/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD
new file mode 100644
index 000000000000..62c17aabac20
--- /dev/null
+++ b/ftp/bsdftpd-ssl/files/patch-ftpd_Makefile.FreeBSD
@@ -0,0 +1,17 @@
+--- ftpd/Makefile.FreeBSD.orig 2005-01-11 22:49:16 UTC
++++ ftpd/Makefile.FreeBSD
+@@ -78,12 +78,12 @@ LDADD+= -lm
+ ### TLS/SSL support
+ .if defined(SSL_SUPPORT)
+ CFLAGS+=-DUSE_SSL
+-LDADD+= -lssl -lcrypto ../port/libbsdport.a
++LDADD+= -L${OPENSSLLIB} -lssl -lcrypto ../port/libbsdport.a
+ .endif
+ ## Next lines must present regardless of TLS/SSL support state
+ .PATH: ${.CURDIR}/../ssl
+ SRCS+= sslapp.c ssl_port.c ssl_port_ftpd.c
+-CFLAGS+=-I../ssl -I../port
++CFLAGS+= -I${OPENSSLINC} -I../ssl -I../port
+ ###
+
+ ### PAM support