|
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 |
- |
|
|