aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-12-27 16:59:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-12-27 16:59:23 +0000
commit8393a2e0650549cf7c416f481354621bd2419e20 (patch)
tree78aca8345cceb951526906531f5fa3e3fce0921a /ftp
parent356644ecfc7b9971c06f992c8fe7ffc320a9cc2d (diff)
downloadports-8393a2e0650549cf7c416f481354621bd2419e20.tar.gz
ports-8393a2e0650549cf7c416f481354621bd2419e20.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/vsftpd-ext/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ftp/vsftpd-ext/Makefile b/ftp/vsftpd-ext/Makefile
index c6250af36dfd..aeedadb47b46 100644
--- a/ftp/vsftpd-ext/Makefile
+++ b/ftp/vsftpd-ext/Makefile
@@ -53,6 +53,9 @@ CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
+post-patch-VSFTPD_SSL-on:
+ @${REINPLACE_CMD} -e 's|find_func SSL_library_init ssl.o|true|' ${WRKSRC}/vsf_findlibs.sh
+
do-configure:
.if ${PORT_OPTIONS:MVSFTPD_SSL} && !defined(WITHOUT_SSL)
${REINPLACE_CMD} -e \
@@ -97,13 +100,13 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${STAGEDIR}${PREFIX}/man/man5/
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${STAGEDIR}${PREFIX}/man/man8/
${MKDIR} ${STAGEDIR}/var/ftp ${STAGEDIR}${PREFIX}/share/vsftpd/empty
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.for i in EXAMPLE SECURITY
${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
${CP} -p -R -L ${WRKSRC}/${i}/./ ${STAGEDIR}${DOCSDIR}/${i}/
.endfor
-.endif
.include <bsd.port.mk>