summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-01 09:03:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-01 09:03:37 +0000
commit03fa6ec731fe665135575ed15b409f8fde91da56 (patch)
tree55eef6a09ebe19abe8aeba9e7dc00171152af89d /ftp
parentfix LIB_DEPENDS. dbh library got changed during the last databases/dbh changes. (diff)
Fix build on -current
Submitted by: kris via bento Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=86112
Diffstat (limited to 'ftp')
-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