Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331685 | Differences between
and this patch

Collapse All | Expand All

(-)net-analyzer/nagios-plugins/nagios-plugins-1.4.14-r2.ebuild (-4 / +3 lines)
Lines 77-86 Link Here
77
		$(use_with mysql) \
77
		$(use_with mysql) \
78
		$(use_with ipv6) \
78
		$(use_with ipv6) \
79
		${conf} \
79
		${conf} \
80
		--host=${CHOST} \
80
		--libexecdir=${EPREFIX}/usr/$(get_libdir)/nagios/plugins \
81
		--prefix=/usr \
81
		--sysconfdir=${EPREFIX}/etc/nagios || die "econf failed"
82
		--libexecdir=/usr/$(get_libdir)/nagios/plugins \
83
		--sysconfdir=/etc/nagios || die "econf failed"
84
82
85
	# fix problem with additional -
83
	# fix problem with additional -
86
	sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed"
84
	sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed"
Lines 120-125 Link Here
120
			|| die "Failed to remove XMPP notification addon"
118
			|| die "Failed to remove XMPP notification addon"
121
	fi
119
	fi
122
120
121
	use prefix ||
123
	chown -R root:nagios "${ED}"/usr/$(get_libdir)/nagios/plugins \
122
	chown -R root:nagios "${ED}"/usr/$(get_libdir)/nagios/plugins \
124
		|| die "Failed chown of ${ED}usr/$(get_libdir)/nagios/plugins"
123
		|| die "Failed chown of ${ED}usr/$(get_libdir)/nagios/plugins"
125
124

Return to bug 331685