diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-08-28 18:21:15 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-08-28 18:57:13 -0400 |
commit | 0036731d9c79c42c6631cd774c5a30d6a9af1928 (patch) | |
tree | f34d450fecf2bb8aba49696ce1fe68026539e266 /app-admin/syslog-ng | |
parent | app-benchmarks/stress: Remove old (diff) | |
download | gentoo-0036731d9c79c42c6631cd774c5a30d6a9af1928.tar.gz gentoo-0036731d9c79c42c6631cd774c5a30d6a9af1928.tar.bz2 gentoo-0036731d9c79c42c6631cd774c5a30d6a9af1928.zip |
cim module needs json so skip installing it unless USE=json
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-3.7.1.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/syslog-ng-3.7.1.ebuild b/app-admin/syslog-ng/syslog-ng-3.7.1.ebuild index 4e713ebfe2d2..03f6fdfb209e 100644 --- a/app-admin/syslog-ng/syslog-ng-3.7.1.ebuild +++ b/app-admin/syslog-ng/syslog-ng-3.7.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit python-any-r1 eutils multilib systemd versionator +inherit autotools python-any-r1 eutils multilib systemd versionator MY_PV=${PV/_/} MY_PV_MM=$(get_version_component_range 1-2) @@ -46,6 +46,14 @@ pkg_setup() { src_prepare() { epatch_user use python && python_fix_shebang . + + if use !json ; then + sed -i \ + -e '1 s/cim //' \ + scl/Makefile.am || die + eautoreconf + fi + cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die cd "${TMPDIR}" || die |