dev-libs/libdnet: Sync with Gentoo

It's from Gentoo commit 5d1f356cfd0611934a34606499a9a14d267b77dd.
This commit is contained in:
Flatcar Buildbot 2024-01-01 07:11:06 +00:00 committed by Krzesimir Nowak
parent bdfb2acd47
commit 71981d2c97
4 changed files with 9 additions and 3 deletions

View File

@ -55,7 +55,7 @@ src_prepare() {
src_configure() { src_configure() {
econf \ econf \
$(use_with python) \ $(use_with python) \
$(use_with test check "${ESYSROOT}/usr") $(use_enable test check)
} }
src_compile() { src_compile() {

View File

@ -55,7 +55,7 @@ src_prepare() {
src_configure() { src_configure() {
econf \ econf \
$(use_with python) \ $(use_with python) \
$(use_with test check "${ESYSROOT}/usr") $(use_enable test check)
} }
src_compile() { src_compile() {

View File

@ -35,6 +35,9 @@ src_prepare() {
sed -i \ sed -i \
-e 's/libcheck.a/libcheck.so/g' \ -e 's/libcheck.a/libcheck.so/g' \
configure.ac || die configure.ac || die
sed -i \
-e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
configure.ac || die
sed -i \ sed -i \
-e 's|-L$libdir ||g' \ -e 's|-L$libdir ||g' \
dnet-config.in || die dnet-config.in || die
@ -56,7 +59,7 @@ src_prepare() {
src_configure() { src_configure() {
econf \ econf \
$(use_with python) \ $(use_with python) \
$(use_with test check "${ESYSROOT}/usr") $(use_enable test check)
} }
src_compile() { src_compile() {

View File

@ -39,6 +39,9 @@ src_prepare() {
sed -i \ sed -i \
-e 's/libcheck.a/libcheck.so/g' \ -e 's/libcheck.a/libcheck.so/g' \
configure.ac || die configure.ac || die
sed -i \
-e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
configure.ac || die
sed -i \ sed -i \
-e 's|-L$libdir ||g' \ -e 's|-L$libdir ||g' \
dnet-config.in || die dnet-config.in || die