Lines 11-17
Link Here
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
SLOT="2" |
12 |
SLOT="2" |
13 |
KEYWORDS="amd64 x86" |
13 |
KEYWORDS="amd64 x86" |
14 |
IUSE="acl cryptsetup debug elogind +gptfdisk +introspection lvm nls selinux systemd" |
14 |
IUSE="acl cryptsetup debug doc elogind +gptfdisk +introspection lvm nls selinux systemd" |
15 |
|
15 |
|
16 |
REQUIRED_USE="?? ( elogind systemd )" |
16 |
REQUIRED_USE="?? ( elogind systemd )" |
17 |
|
17 |
|
Lines 45-51
Link Here
|
45 |
app-text/docbook-xsl-stylesheets |
45 |
app-text/docbook-xsl-stylesheets |
46 |
dev-libs/libxslt |
46 |
dev-libs/libxslt |
47 |
>=dev-util/gdbus-codegen-2.32 |
47 |
>=dev-util/gdbus-codegen-2.32 |
48 |
>=dev-util/gtk-doc-1.3 |
48 |
doc? ( >=dev-util/gtk-doc-1.3 ) |
49 |
gnome-base/gnome-common:3 |
49 |
gnome-base/gnome-common:3 |
50 |
sys-devel/autoconf-archive |
50 |
sys-devel/autoconf-archive |
51 |
>=sys-kernel/linux-headers-3.1 |
51 |
>=sys-kernel/linux-headers-3.1 |
Lines 75-81
Link Here
|
75 |
xdg_environment_reset |
75 |
xdg_environment_reset |
76 |
|
76 |
|
77 |
default |
77 |
default |
78 |
|
78 |
|
|
|
79 |
use doc || { |
80 |
sed -i -e "s:--enable-gtk-doc::" ${S}/autogen.sh |
81 |
sed -i -r -e "s:^doc/Makefile::" ${S}/configure.ac |
82 |
sed -i -e "s:SUBDIRS = data udisks src tools modules po doc:SUBDIRS = data udisks src tools modules po doc/man:" ${S}/Makefile.am |
83 |
} |
79 |
eautoreconf |
84 |
eautoreconf |
80 |
|
85 |
|
81 |
if ! use systemd ; then |
86 |
if ! use systemd ; then |
Lines 86-95
Link Here
|
86 |
src_configure() { |
91 |
src_configure() { |
87 |
local myeconfargs=( |
92 |
local myeconfargs=( |
88 |
--enable-btrfs |
93 |
--enable-btrfs |
|
|
94 |
--enable-man |
89 |
--disable-gtk-doc |
95 |
--disable-gtk-doc |
90 |
--disable-static |
96 |
--disable-static |
91 |
--localstatedir="${EPREFIX%/}"/var |
97 |
--localstatedir="${EPREFIX%/}"/var |
92 |
--with-html-dir="${EPREFIX%/}"/usr/share/gtk-doc/html |
98 |
--without-html-dir |
93 |
--with-modprobedir="${EPREFIX%/}"/lib/modprobe.d |
99 |
--with-modprobedir="${EPREFIX%/}"/lib/modprobe.d |
94 |
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
100 |
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
95 |
--with-udevdir="$(get_udevdir)" |
101 |
--with-udevdir="$(get_udevdir)" |