summaryrefslogtreecommitdiff
path: root/net/rsync/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>1999-07-08 17:29:24 +0000
committeritojun <itojun@pkgsrc.org>1999-07-08 17:29:24 +0000
commit7edafe4d5c6b41c8d5cd5c92897ff2f0abe28153 (patch)
tree5b3bf9eceb52e56bb0022bbb147607e98301a61e /net/rsync/Makefile
parent83d40f242fa72cf29855ac6bfeb1f39b66e7e6f4 (diff)
downloadpkgsrc-7edafe4d5c6b41c8d5cd5c92897ff2f0abe28153.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/