diff --git a/srcpkgs/logrotate/template b/srcpkgs/logrotate/template index 82abe602cb..8c3b46c6ee 100644 --- a/srcpkgs/logrotate/template +++ b/srcpkgs/logrotate/template @@ -1,7 +1,7 @@ # Template file for 'logrotate' pkgname=logrotate version=3.8.1 -revision=1 +revision=2 makedepends="popt-devel" conf_files="/etc/logrotate.conf" short_desc="Log file rotation and periodic maintenance" @@ -10,19 +10,12 @@ homepage="https://fedorahosted.org/logrotate/" license="GPL-2" distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz" checksum=c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169 -long_desc=" - $pkgname performs periodic maintenance of log files. The most common - action is rotating log files and archiving the old logs to one or more - places, but it can also periodically copy logs to a central repository - without truncating them. It can run commands both before and after log - rotation to handle stopping, restarting, or sending signals to servers, - and it automatically compresses logs when it archives them." do_build() { sed -i "s|CFLAGS = -Wall|CFLAGS += -Wall|" Makefile sed -i 's|$(BASEDIR)/man|$(BASEDIR)/share/man|' Makefile sed -i "s|/bin/\(g.*zip\)|/usr/bin/\1|g" config.h - make ${makejobs} + make CPP=$CC ${makejobs} } do_install() {