mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-devel/crossdev: always sed PV
Workaround. See these commits in crossdev.git: commit 301d1bb0c55e2e848a13decae8201e674e1600f7 Author: Sam James <sam@gentoo.org> Date: Sat Nov 30 05:12:20 2024 +0000 Makefile: use git describe Lets us handle .1 and so on. Signed-off-by: Sam James <sam@gentoo.org> commit 23aab902cc8d2a0ff07d86061af8e3401e990d5f Author: Sam James <sam@gentoo.org> Date: Sun Dec 15 18:53:39 2024 +0000 crossdev, Makefile: fix version handling again `git archive` was using HEAD so it wouldn't include the sed performed in the `dist` target. Signed-off-by: Sam James <sam@gentoo.org> commit c18f677d742830eef7f88ec5edc3babf25ba803c Author: Sam James <sam@gentoo.org> Date: Sun Dec 15 19:00:46 2024 +0000 Revert "crossdev, Makefile: fix version handling again" This reverts commit 681c5fb86714d8e2c585c8e5ae423b6f9364ccfb. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -33,6 +33,8 @@ src_install() {
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
|
||||
else
|
||||
sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/config.site.d
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@@ -33,6 +33,8 @@ src_install() {
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
|
||||
else
|
||||
sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/config.site.d
|
||||
|
||||
Reference in New Issue
Block a user