aboutsummaryrefslogtreecommitdiff
path: root/ftp/pftpd
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-08 02:48:07 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-08 02:48:07 +0000
commit3c5212cd0eecdd68a9f3f79fb2d44608f4e759b4 (patch)
tree387494928c62863eb3853c7c0951456a197a0855 /ftp/pftpd
parente1026e71c293defbb2d28be8887ec80fc08e1500 (diff)
downloadports-3c5212cd0eecdd68a9f3f79fb2d44608f4e759b4.tar.gz
ports-3c5212cd0eecdd68a9f3f79fb2d44608f4e759b4.zip
Notes
Diffstat (limited to 'ftp/pftpd')
-rw-r--r--ftp/pftpd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile
index f67361a767ac..31f069b2475d 100644
--- a/ftp/pftpd/Makefile
+++ b/ftp/pftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pftpd
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/unix/pftpd/ \
ftp://ftp.ifm.liu.se/pub/unix/pftpd/
@@ -16,6 +17,7 @@ COMMENT= Multithreaded anonymous FTP daemon
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= pftpd.1 rpad.1
PLIST_FILES= sbin/pftpd
@@ -26,6 +28,8 @@ post-extract:
.endfor
post-patch:
+ @${REINPLACE_CMD} -e 's|mktemp|mkstemp|g' \
+ ${WRKSRC}/src/rpa.c
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure \
${WRKSRC}/plib/configure