mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
net-libs/libuplink: add 1.10.1-r1
Remove upstream Go linker stripping flags to avoid installing pre-stripped objects. Closes: https://bugs.gentoo.org/975463 Signed-off-by: David Reed <david-gentoo@reedfam.email>
This commit is contained in:
2 files changed
+11
-2
No files matched your search
+10
-1
@@ -11,7 +11,7 @@ MY_PN="uplink-c"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/storj/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/david-gentoo/uplink-c/releases/download/v${PVR}/${MY_PN}-${PVR}-vendor.tar.xz
|
||||
https://github.com/david-gentoo/uplink-c/releases/download/v${PV}/${MY_PN}-${PV}-vendor.tar.xz
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
@@ -28,6 +28,15 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove upstream's pre-stripped flags
|
||||
sed -i \
|
||||
-e 's/[[:space:]]*-ldflags="-s -w"//' \
|
||||
scripts/build-lib || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake build
|
||||
}
|
||||
@@ -15,6 +15,6 @@
|
||||
<upstream>
|
||||
<remote-id type="github">storj/uplink-c</remote-id>
|
||||
<bugs-to>https://github.com/storj/uplink-c/issues</bugs-to>
|
||||
<doc>https://docs.storj.io/</doc>
|
||||
<doc>https://storj.dev/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in new issue
Block a user