aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wzdftpd
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-31 12:59:00 +0800
committernovel <novel@FreeBSD.org>2005-05-31 12:59:00 +0800
commitbd08f5a7cded00621d4cad2c586c51e4137084b8 (patch)
treef6d56d242031e8541e060bfdbe0174e63b9501b2 /ftp/wzdftpd
parent62ec0acba559a1a0638344dc5f9603f8272467a5 (diff)
downloadfreebsd-ports-gnome-bd08f5a7cded00621d4cad2c586c51e4137084b8.tar.gz
freebsd-ports-gnome-bd08f5a7cded00621d4cad2c586c51e4137084b8.tar.zst
freebsd-ports-gnome-bd08f5a7cded00621d4cad2c586c51e4137084b8.zip
Fix build on 4.x.
Reported by: pointyhat via kris
Diffstat (limited to 'ftp/wzdftpd')
-rw-r--r--ftp/wzdftpd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftp/wzdftpd/Makefile b/ftp/wzdftpd/Makefile
index 464446e32291..381a0ba9f686 100644
--- a/ftp/wzdftpd/Makefile
+++ b/ftp/wzdftpd/Makefile
@@ -93,6 +93,9 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
post-patch:
@${REINPLACE_CMD} -e "s|@HAVE_PERL_TRUE@|#|g" ${WRKSRC}/Makefile.in
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e "s|PRIu64|\"llu\"|g" ${WRKSRC}/src/*.[cl]
+.endif
post-install:
.if !defined(NOPORTDOCS)