diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-08 02:48:07 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-08 02:48:07 +0000 |
commit | 3c5212cd0eecdd68a9f3f79fb2d44608f4e759b4 (patch) | |
tree | 387494928c62863eb3853c7c0951456a197a0855 /ftp | |
parent | Update to 1.3.21 (diff) |
Use mkstemp() instead of mktemp()
Bump PORTREVISION
PR: 88633
Submitted by: chinsan <chinsan.tw@gmail.com>
Notes
Notes:
svn path=/head/; revision=147539
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/pftpd/Makefile | 4 |
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 |