@@ -, +, @@ ftp/bftpd: Remove unnecessary patchfile While here, pet portlint and remove unneeded post-patch. PR: 258395 --- b/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -10,13 +10,13 @@ COMMENT= Very configurable FTP server that can do chroot easily LICENSE= GPLv2 +USES= autoreconf gmake + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pam # Fix build with clang 11 CFLAGS+= -fcommon -USES= autoreconf gmake - WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \ @@ -29,7 +29,6 @@ post-patch: @${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \ ${WRKSRC}/mypaths.h @${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in - @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/ --- a/ftp/bftpd/files/patch-commands.c +++ /dev/null @@ -1,27 +0,0 @@ ---- commands.c.orig 2011-05-20 14:39:41.000000000 -0300 -+++ commands.c 2011-05-20 14:40:45.000000000 -0300 -@@ -18,9 +18,6 @@ - #ifdef HAVE_SYS_SOCKET_H - #include - #endif --#ifdef HAVE_ASM_SOCKET_H --#include --#endif - #ifdef HAVE_NETINET_IN_H - #include - #endif -@@ -35,12 +32,8 @@ - #endif - #include - #include --#ifdef HAVE_WAIT_H --# include --#else --# ifdef HAVE_SYS_WAIT_H --# include --# endif -+#ifdef HAVE_SYS_WAIT_H -+#include - #endif - - #include "mystring.h"