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

(-)a/net-misc/chrony/chrony-3.5.ebuild (-24 / +23 lines)
Lines 66-99 src_configure() { Link Here
66
	fi
66
	fi
67
67
68
	# not an autotools generated script
68
	# not an autotools generated script
69
	local CHRONY_CONFIGURE="
69
	local myconf=(
70
	./configure \
70
		$(use_enable seccomp scfilter)
71
		$(use_enable seccomp scfilter) \
71
		$(usex adns '' --disable-asyncdns)
72
		$(usex adns '' --disable-asyncdns) \
72
		$(usex caps '' --disable-linuxcaps)
73
		$(usex caps '' --disable-linuxcaps) \
73
		$(usex cmdmon '' --disable-cmdmon)
74
		$(usex cmdmon '' --disable-cmdmon) \
74
		$(usex ipv6 '' --disable-ipv6)
75
		$(usex ipv6 '' --disable-ipv6) \
75
		$(usex ntp '' --disable-ntp)
76
		$(usex ntp '' --disable-ntp) \
76
		$(usex phc '' --disable-phc)
77
		$(usex phc '' --disable-phc) \
77
		$(usex pps '' --disable-pps)
78
		$(usex pps '' --disable-pps) \
78
		$(usex refclock '' --disable-refclock)
79
		$(usex refclock '' --disable-refclock) \
79
		$(usex rtc '' --disable-rtc)
80
		$(usex rtc '' --disable-rtc) \
80
		${CHRONY_EDITLINE}
81
		${CHRONY_EDITLINE} \
81
		${EXTRA_ECONF}
82
		${EXTRA_ECONF} \
82
		--chronysockdir="${EPREFIX}/run/chrony"
83
		--chronysockdir=/run/chrony \
83
		--disable-sechash
84
		--disable-sechash \
84
		--docdir="${EPREFIX}/usr/share/doc/${PF}"
85
		--docdir=/usr/share/doc/${PF} \
85
		--mandir="${EPREFIX}/usr/share/man"
86
		--mandir=/usr/share/man \
86
		--prefix="${EPREFIX}/usr"
87
		--prefix=/usr \
87
		--sysconfdir="${EPREFIX}/etc/chrony"
88
		--sysconfdir=/etc/chrony \
89
		--with-pidfile="${EPREFIX}/run/chrony/chronyd.pid"
88
		--with-pidfile="${EPREFIX}/run/chrony/chronyd.pid"
90
		--without-nss \
89
		--without-nss
91
		--without-tomcrypt
90
		--without-tomcrypt
92
	"
91
	)
93
92
94
	# print the ./configure call to aid in future debugging
93
	# print the ./configure call to aid in future debugging
95
	einfo ${CHRONY_CONFIGURE}
94
	echo bash ./configure "${myconf[@]}" >&2
96
	bash ${CHRONY_CONFIGURE} || die
95
	bash ./configure "${myconf[@]}" || die
97
}
96
}
98
97
99
src_compile() {
98
src_compile() {
(-)a/net-misc/chrony/chrony-9999.ebuild (-25 / +23 lines)
Lines 64-97 src_configure() { Link Here
64
	fi
64
	fi
65
65
66
	# not an autotools generated script
66
	# not an autotools generated script
67
	local CHRONY_CONFIGURE="
67
	local myconf=(
68
	./configure \
68
		$(use_enable seccomp scfilter)
69
		$(use_enable seccomp scfilter) \
69
		$(usex adns '' --disable-asyncdns)
70
		$(usex adns '' --disable-asyncdns) \
70
		$(usex caps '' --disable-linuxcaps)
71
		$(usex caps '' --disable-linuxcaps) \
71
		$(usex cmdmon '' --disable-cmdmon)
72
		$(usex cmdmon '' --disable-cmdmon) \
72
		$(usex ipv6 '' --disable-ipv6)
73
		$(usex ipv6 '' --disable-ipv6) \
73
		$(usex ntp '' --disable-ntp)
74
		$(usex ntp '' --disable-ntp) \
74
		$(usex phc '' --disable-phc)
75
		$(usex phc '' --disable-phc) \
75
		$(usex pps '' --disable-pps)
76
		$(usex pps '' --disable-pps) \
76
		$(usex refclock '' --disable-refclock)
77
		$(usex refclock '' --disable-refclock) \
77
		$(usex rtc '' --disable-rtc)
78
		$(usex rtc '' --disable-rtc) \
78
		${CHRONY_EDITLINE}
79
		${CHRONY_EDITLINE} \
79
		${EXTRA_ECONF}
80
		${EXTRA_ECONF} \
80
		--chronysockdir="${EPREFIX}/run/chrony"
81
		--chronysockdir=/run/chrony \
81
		--disable-sechash
82
		--disable-sechash \
82
		--docdir="${EPREFIX}/usr/share/doc/${PF}"
83
		--docdir=/usr/share/doc/${PF} \
83
		--mandir="${EPREFIX}/usr/share/man"
84
		--mandir=/usr/share/man \
84
		--prefix="${EPREFIX}/usr"
85
		--prefix=/usr \
85
		--sysconfdir="${EPREFIX}/etc/chrony"
86
		--sysconfdir=/etc/chrony \
87
		--with-pidfile="${EPREFIX}/run/chrony/chronyd.pid"
86
		--with-pidfile="${EPREFIX}/run/chrony/chronyd.pid"
88
		--without-nss \
87
		--without-nss
89
		--without-tomcrypt
88
		--without-tomcrypt
90
	"
89
	)
91
90
92
	# print the ./configure call to aid in future debugging
91
	# print the ./configure call to aid in future debugging
93
	einfo ${CHRONY_CONFIGURE}
92
	echo bash ./configure "${myconf[@]}" >&2
94
	bash ${CHRONY_CONFIGURE} || die
93
	bash ./configure "${myconf[@]}" || die
95
}
94
}
96
95
97
src_compile() {
96
src_compile() {
98
- 

Return to bug 695610