Сравнение wmcp-1.2.8-r1 с wmcp-1.2.8-r2
| /usr/portage/x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild 2024-12-25 14:59:53.511270201 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2020 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit toolchain-funcs |
| 7 | 7 | |
| ... | ... | |
| 19 | 19 |
DEPEND="${RDEPEND}
|
| 20 | 20 |
x11-base/xorg-proto" |
| 21 | 21 | |
| 22 |
PATCHES=( |
|
| 23 |
"${FILESDIR}"/${P}-gcc33.patch
|
|
| 24 |
"${FILESDIR}"/${P}-stdlibh.patch
|
|
| 25 |
) |
|
| 22 | 26 |
src_prepare() {
|
| 23 | 27 |
default |
| 24 |
eapply "${FILESDIR}"/${P}-gcc33.patch
|
|
| 25 |
eapply "${FILESDIR}"/${P}-stdlibh.patch
|
|
| 26 | 28 |
sed -i \ |
| 27 |
-e "s:gcc:$(tc-getCC):g" \ |
|
| 28 |
-e "s:i686-pc-linux-gnu-gcc -g:i686-pc-linux-gnu-gcc:g" \ |
|
| 29 |
-e "s:i686-pc-linux-gnu-gcc -o:i686-pc-linux-gnu-gcc ${LDFLAGS} -o:" \
|
|
| 29 |
-e "s:gcc -g -c:$(tc-getCC) -c:" \ |
|
| 30 |
-e "s:gcc -g -o:$(tc-getCC) ${LDFLAGS} -o:" \
|
|
| 30 | 31 |
Makefile || die |
| 31 | 32 |
} |
| 32 | 33 | |
| 33 | 34 |
src_compile() {
|
| 34 |
emake -j1 INCLUDES="-I/usr/include/X11" \ |
|
| 35 |
emake INCLUDES="-I/usr/include/X11" \ |
|
| 35 | 36 |
LIBINC="-L/usr/$(get_libdir)" \ |
| 36 | 37 |
FLAGS="${CFLAGS}"
|
| 37 | 38 |
} |