summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-01 09:03:37 +0000
committerkrion <krion@FreeBSD.org>2003-08-01 09:03:37 +0000
commit79f23695e8757b6d5c5e0e35f4fcb8f6a19f5fe0 (patch)
tree163dc61971ac20e0c3ad5b5e7ffb81b11b358935
parent4cafbf996e77dd4c94290b6d9487ffb76f29945d (diff)
downloadFreeBSD-ports-79f23695e8757b6d5c5e0e35f4fcb8f6a19f5fe0.zip
FreeBSD-ports-79f23695e8757b6d5c5e0e35f4fcb8f6a19f5fe0.tar.gz
Fix build on -current
Submitted by: kris via bento Approved by: fjoe (mentor) (implicit)
-rw-r--r--ftp/pftpd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile
index b5d4e34..2fa0339 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
OpenPOWER on IntegriCloud