mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-lang/tcc: fix shabang in man documentation
Closes: https://bugs.gentoo.org/888115 Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -45,6 +45,9 @@ src_prepare() {
|
||||
}' examples/ex*.c || die
|
||||
sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
|
||||
|
||||
# bug 888115
|
||||
sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die
|
||||
|
||||
# Fix texi2html invocation
|
||||
sed -i -e 's/-number//' Makefile || die
|
||||
sed -i -e 's/--sections//' Makefile || die
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -22,7 +22,7 @@ fi
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *9999* ]] ; then
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
|
||||
fi
|
||||
|
||||
BDEPEND="dev-lang/perl" # doc generation
|
||||
@@ -45,6 +45,9 @@ src_prepare() {
|
||||
}' examples/ex*.c || die
|
||||
sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
|
||||
|
||||
# bug 888115
|
||||
sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die
|
||||
|
||||
# Fix texi2html invocation
|
||||
sed -i -e 's/-number//' Makefile || die
|
||||
sed -i -e 's/--sections//' Makefile || die
|
||||
|
||||
Reference in New Issue
Block a user