summaryrefslogtreecommitdiff
path: root/net/rsync/Makefile
diff options
context:
space:
mode:
authoritojun <itojun>1999-07-08 17:29:24 +0000
committeritojun <itojun>1999-07-08 17:29:24 +0000
commit479de1c4bad38a257a08bbd25b06750441c12be4 (patch)
tree5b3bf9eceb52e56bb0022bbb147607e98301a61e /net/rsync/Makefile
parentd1cee9bad4fe617bf96b47da7c07d465fef6761c (diff)
downloadpkgsrc-479de1c4bad38a257a08bbd25b06750441c12be4.tar.gz
enable IPv6 build (USE_INET6)
Diffstat (limited to 'net/rsync/Makefile')
-rw-r--r--net/rsync/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index fc33b463774..bc9a059d013 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/05/12 23:31:04 tv Exp $
+# $NetBSD: Makefile,v 1.21 1999/07/08 17:29:24 itojun Exp $
#
DISTNAME= rsync-2.3.1
@@ -8,6 +8,21 @@ MASTER_SITES= ftp://rsync.samba.org/pub/rsync/ \
ftp://ftp0.sunet.se/pub/unix/admin/rsync/ \
ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_INET6)
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCHFILES= rsync-231-v6-19990520.diff.gz
+PATCH_DIST_STRIP= -p1
+PATCHDIR= ${.CURDIR}/patches.v6
+.else
+# always fetch IPv6 patch, for files/md5
+MASTER_SITES+= ftp://ftp.kame.net/pub/kame/misc/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ rsync-231-v6-19990520.diff.gz
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://samba.anu.edu.au/rsync/