diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-08-26 04:08:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-08-26 04:08:58 +0000 |
commit | 7e8ab83f6c92013a27fe9dfc4b02f738cb8ff51c (patch) | |
tree | 8be07cc93acb235b21f92b2eefb55e635154d317 /ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD | |
parent | emulators/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-ftp_Makefile.FreeBSD')
-rw-r--r-- | ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD b/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD new file mode 100644 index 000000000000..1cf26a0ca029 --- /dev/null +++ b/ftp/bsdftpd-ssl/files/patch-ftp_Makefile.FreeBSD @@ -0,0 +1,25 @@ +--- ftp/Makefile.FreeBSD.orig 2005-01-11 10:06:55 UTC ++++ ftp/Makefile.FreeBSD +@@ -17,11 +17,11 @@ CFLAGS+=-DINET6 + ### TLS/SSL support + ## Comment lines below to disable TLS/SSL support + CFLAGS+=-DUSE_SSL +-LDADD+= -lssl -lcrypto ++LDADD+= -L${OPENSSLLIB} -lssl -lcrypto + ## Next lines must present regardless of TLS/SSL support state + .PATH: ${.CURDIR}/../ssl + SRCS+= sslapp.c ssl_port.c ssl_port_ftps.c +-CFLAGS+=-I../ssl ++CFLAGS+= -I${OPENSSLINC} -I../ssl + ### + + ### +@@ -31,7 +31,7 @@ PROG= ftps + SRCS+= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \ + util.c + +-CFLAGS+= -I../port -Wall ++CFLAGS+= -I../port -Wall -fcommon + + LDADD+= ../port/libedit.a + .if defined(BSDTYPE) && ( ${BSDTYPE} == "NetBSD" ) |