Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 720806
Collapse All | Expand All

(-)a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild (-1 / +7 lines)
Lines 3-9 Link Here
3
3
4
EAPI=7
4
EAPI=7
5
5
6
inherit systemd toolchain-funcs
6
inherit systemd toolchain-funcs flag-o-matic
7
7
8
MY_PV="${PV//_alpha/a}"
8
MY_PV="${PV//_alpha/a}"
9
MY_PV="${MY_PV//_beta/b}"
9
MY_PV="${MY_PV//_beta/b}"
Lines 162-167 src_configure() { Link Here
162
	#define _PATH_DHCRELAY6_PID  "${r}/dhcrelay6.pid"
162
	#define _PATH_DHCRELAY6_PID  "${r}/dhcrelay6.pid"
163
	EOF
163
	EOF
164
164
165
	# https://bugs.gentoo.org/720806
166
	if use ppc || use arm || use hppa; then
167
		append-libs -latomic
168
	fi
169
165
	local myeconfargs=(
170
	local myeconfargs=(
166
		--enable-paranoia
171
		--enable-paranoia
167
		--enable-early-chroot
172
		--enable-early-chroot
Lines 169-174 src_configure() { Link Here
169
		$(use_enable ipv6 dhcpv6)
174
		$(use_enable ipv6 dhcpv6)
170
		$(use_with ldap)
175
		$(use_with ldap)
171
		$(use ldap && use_with ssl ldapcrypto || echo --without-ldapcrypto)
176
		$(use ldap && use_with ssl ldapcrypto || echo --without-ldapcrypto)
177
		LIBS="${LIBS}"
172
	)
178
	)
173
	econf "${myeconfargs[@]}"
179
	econf "${myeconfargs[@]}"
174
180

Return to bug 720806