From 03fa6ec731fe665135575ed15b409f8fde91da56 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 1 Aug 2003 09:03:37 +0000 Subject: Fix build on -current Submitted by: kris via bento Approved by: fjoe (mentor) (implicit) --- ftp/pftpd/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ftp') 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 -.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 -- cgit v1.2.3