diff options
author | mnag <mnag@FreeBSD.org> | 2005-11-08 02:48:07 +0000 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-11-08 02:48:07 +0000 |
commit | 6e176a6de2f5c894449faeb329e29da7ad74cab5 (patch) | |
tree | 769e286477bd860492ca04f71496d6e317e26217 /ftp/pftpd | |
parent | 24d077046fef54493c98c34197db76a677f99f29 (diff) | |
download | FreeBSD-ports-6e176a6de2f5c894449faeb329e29da7ad74cab5.zip FreeBSD-ports-6e176a6de2f5c894449faeb329e29da7ad74cab5.tar.gz |
Use mkstemp() instead of mktemp()
Bump PORTREVISION
PR: 88633
Submitted by: chinsan <chinsan.tw@gmail.com>
Diffstat (limited to 'ftp/pftpd')
-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 f67361a..31f069b 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 |