aboutsummaryrefslogtreecommitdiff
path: root/ftp/pftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/pftpd/Makefile')
-rw-r--r--ftp/pftpd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile
index b5d4e3454eaf..2fa0339cad63 100644
--- a/ftp/pftpd/Makefile
+++ b/ftp/pftpd/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= Multithreaded anonymous FTP daemon
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
RESTRICTED= License problem
@@ -21,9 +22,10 @@ MAN1= pftpd.1 rpad.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 501000
-BROKEN= "Does not compile"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/plib/configure
post-install:
@${CAT} ${WRKSRC}/ISSUES