-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit toolchain-funcs user
postgres? ( dev-db/postgresql:* )
"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_configure() {
local myeconfargs=(
+ --disable-static
+ --enable-perfdhcp
+ --localstatedir="${EPREFIX}/var"
+ --without-werror
$(use_with mysql)
$(use_with openssl)
$(use_with postgres pgsql)
$(use_enable samples install-configurations)
- --disable-static
- --without-werror
)
econf "${myeconfargs[@]}"
}
default
newconfd "${FILESDIR}"/${PN}-confd ${PN}
newinitd "${FILESDIR}"/${PN}-initd ${PN}
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+ keepdir /var/{lib,run}/${PN} /var/log
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
}
pkg_preinst() {