summaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-04-20 20:19:47 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-04-20 20:19:47 +0000
commitb4889d7cdd41651ba22c2ee73ff5b60028406ec4 (patch)
treec316ffa97bb081706e1b36a87819532471c0a2e3 /net/rsync
parentAdd patch to make GnomeMeeting use the static OpenH323 libraries because (diff)
Make port set -O2 in CFLAGS. Necessary for -z (compress) option to work
properly. PR: 36998 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=57941
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index b373b1feb482..2802acb92327 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -8,7 +8,7 @@
PORTNAME= rsync
PORTVERSION= 2.5.5
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \
ftp://sunsite.auc.dk/pub/unix/rsync/ \
@@ -19,6 +19,11 @@ MAINTAINER= obraun@informatik.unibw-muenchen.de
GNU_CONFIGURE= yes
+OPTIMIZATION!= ${ECHO} "${CFLAGS}" | grep '\-O[2-6]' || true
+.if empty(OPTIMIZATION)
+CFLAGS+= -O2
+.endif
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400016