mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
dev-libs/libdnet: Sync with Gentoo
It's from Gentoo commit 5d1f356cfd0611934a34606499a9a14d267b77dd.
This commit is contained in:
parent
bdfb2acd47
commit
71981d2c97
@ -55,7 +55,7 @@ src_prepare() {
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with python) \
|
||||
$(use_with test check "${ESYSROOT}/usr")
|
||||
$(use_enable test check)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
@ -55,7 +55,7 @@ src_prepare() {
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with python) \
|
||||
$(use_with test check "${ESYSROOT}/usr")
|
||||
$(use_enable test check)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
@ -35,6 +35,9 @@ src_prepare() {
|
||||
sed -i \
|
||||
-e 's/libcheck.a/libcheck.so/g' \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e 's|-L$libdir ||g' \
|
||||
dnet-config.in || die
|
||||
@ -56,7 +59,7 @@ src_prepare() {
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with python) \
|
||||
$(use_with test check "${ESYSROOT}/usr")
|
||||
$(use_enable test check)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
@ -39,6 +39,9 @@ src_prepare() {
|
||||
sed -i \
|
||||
-e 's/libcheck.a/libcheck.so/g' \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
|
||||
configure.ac || die
|
||||
sed -i \
|
||||
-e 's|-L$libdir ||g' \
|
||||
dnet-config.in || die
|
||||
|
Loading…
x
Reference in New Issue
Block a user