Make port set -O2 in CFLAGS. Necessary for -z (compress) option to work
properly. PR: 36998 Submitted by: maintainer
This commit is contained in:
parent
561c2e62c7
commit
b4889d7cdd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57941
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user