aboutsummaryrefslogtreecommitdiffstats
path: root/net/rsync
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-03-26 20:36:47 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-03-26 20:36:47 +0800
commit6681666f7b1f17d21e0eea2a48548011ceda1843 (patch)
treeee8eabb94a2efd23cc995fe7d778ad0789422fa6 /net/rsync
parent0fdea7bd95cd41f3f0512cad715de271063fbb66 (diff)
downloadfreebsd-ports-gnome-6681666f7b1f17d21e0eea2a48548011ceda1843.tar.gz
freebsd-ports-gnome-6681666f7b1f17d21e0eea2a48548011ceda1843.tar.zst
freebsd-ports-gnome-6681666f7b1f17d21e0eea2a48548011ceda1843.zip
Only download patchset if needed.
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index e3fcb8ef871f..70f5380075fa 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -16,7 +16,6 @@ MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
http://www.mirrorservice.org/sites/rsync.samba.org/
MASTER_SITE_SUBDIR= rsync
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A network file distribution/synchronization utility
@@ -44,6 +43,10 @@ OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \
.include <bsd.port.pre.mk>
+.if defined(WITH_ICONV) || defined(WITH_FLAGS) || defined(WITH_ACL) || make(makesum)
+DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+
.if defined(WITH_ICONV)
USE_ICONV= yes
CONFIGUREDCFLAGS+= -I${LOCALBASE}/include