mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
net-libs/usockets: fix library soname version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2019-2020 Gentoo Authors
|
# Copyright 2019-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -34,22 +34,17 @@ PATCHES=(
|
|||||||
"${FILESDIR}/${PN}-0.6.0-Makefile.patch"
|
"${FILESDIR}/${PN}-0.6.0-Makefile.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_configure() {
|
||||||
tc-export CC CXX
|
tc-export CC CXX
|
||||||
# the Makefile uses environment variables
|
export VERSION="${PV%_*}" \
|
||||||
emake VERSION=${PV} \
|
LIB="$(get_libdir)" \
|
||||||
LIB="$(get_libdir)" \
|
WITH_OPENSSL="$(usex ssl 1 0)"
|
||||||
WITH_OPENSSL=$(usex ssl 1 0) \
|
WITH_LIBUV="$(usex libuv 1 0)"
|
||||||
WITH_LIBUV=$(usex libuv 1 0) \
|
default
|
||||||
default
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake LIB="$(get_libdir)" \
|
default
|
||||||
prefix="${EPREFIX%/}/usr" \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
VERSION=${PV} \
|
|
||||||
install
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
if ! use static-libs; then
|
if ! use static-libs; then
|
||||||
rm -f "${ED}/usr/$(get_libdir)/libusockets.a" || die
|
rm -f "${ED}/usr/$(get_libdir)/libusockets.a" || die
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2019-2020 Gentoo Authors
|
# Copyright 2019-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -34,22 +34,17 @@ PATCHES=(
|
|||||||
"${FILESDIR}/${PN}-0.6.0-Makefile.patch"
|
"${FILESDIR}/${PN}-0.6.0-Makefile.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_configure() {
|
||||||
tc-export CC CXX
|
tc-export CC CXX
|
||||||
# the Makefile uses environment variables
|
export VERSION="${PV%_*}" \
|
||||||
emake VERSION=${PV} \
|
LIB="$(get_libdir)" \
|
||||||
LIB="$(get_libdir)" \
|
WITH_OPENSSL="$(usex ssl 1 0)"
|
||||||
WITH_OPENSSL=$(usex ssl 1 0) \
|
WITH_LIBUV="$(usex libuv 1 0)"
|
||||||
WITH_LIBUV=$(usex libuv 1 0) \
|
default
|
||||||
default
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake LIB="$(get_libdir)" \
|
default
|
||||||
prefix="${EPREFIX%/}/usr" \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
VERSION=${PV} \
|
|
||||||
install
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
if ! use static-libs; then
|
if ! use static-libs; then
|
||||||
rm -f "${ED}/usr/$(get_libdir)/libusockets.a" || die
|
rm -f "${ED}/usr/$(get_libdir)/libusockets.a" || die
|
||||||
|
|||||||
Reference in New Issue
Block a user