--- autofs-5.0.7-r3.ebuild 2013-08-04 01:52:45.630000000 +0800 +++ autofs-5.0.7-r4.ebuild 2013-08-04 01:52:40.210000000 +0800 @@ -6,7 +6,7 @@ AUTOTOOLS_AUTORECONF=true -inherit autotools-utils linux-info multilib +inherit autotools-utils linux-info multilib systemd PATCH_VER=3 [[ -n ${PATCH_VER} ]] && \ @@ -21,7 +21,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="-dmalloc hesiod ldap libtirpc mount-locking sasl" +IUSE="-dmalloc hesiod ldap libtirpc mount-locking sasl systemd" # USE="sasl" adds SASL support to the LDAP module which will not be build. If # SASL support should be available, please add "ldap" to the USE flags. @@ -81,8 +81,6 @@ src_configure() { # --with-confdir is for bug #361481 # --with-mapdir is for bug #385113 - # for systemd support (not enabled yet): - # --with-systemd # --disable-move-mount: requires kernel >=2.6.39 local myeconfargs=( --with-confdir=/etc/conf.d @@ -92,13 +90,14 @@ $(use_with libtirpc) $(use_with sasl) $(use_with hesiod) + $(use_with systemd) $(use_enable mount-locking) --disable-ext-env --enable-sloppy-mount # bug #453778 --enable-forced-shutdown --enable-ignore-busy ) - autotools-utils_src_configure + autotools-utils_src_configure systemddir="$(systemd_get_unitdir)" } src_install() {