summaryrefslogtreecommitdiff
path: root/ftp/bftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/bftpd/Makefile')
-rw-r--r--ftp/bftpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index 6fb672787b51..6dbf33539281 100644
--- a/ftp/bftpd/Makefile
+++ b/ftp/bftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bftpd
-PORTVERSION= 1.0.22
+PORTVERSION= 1.0.23
CATEGORIES= ftp
MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/
@@ -24,6 +24,8 @@ post-patch:
s@touch /var@#touch /var@g; \
s@DESTDIR)/etc@prefix)/etc@g; \
s@bftpd.conf @bftpd.conf.sample @g" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
+ ${WRKSRC}/mypaths.h
@${REINPLACE_CMD} -e "s@-ldl@@" ${WRKSRC}/configure
@${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample