mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
x11-plugins/astime: fix QA issue
Fix LDFLAGS QA issue. Rename the patch. Add some missing dependencies. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -21,7 +21,7 @@ RDEPEND="x11-libs/libXpm
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
|
||||
PATCHES=( "${FILESDIR}/respect-ldflags.patch" )
|
||||
PATCHES=( "${FILESDIR}/${P}-respect-ldflags.patch" )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable jpeg)
|
||||
|
||||
@@ -14,14 +14,22 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="jpeg"
|
||||
|
||||
RDEPEND="x11-libs/libXpm
|
||||
RDEPEND="
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
jpeg? ( media-libs/libjpeg-turbo:0 )"
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXpm
|
||||
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-respect-ldflags.patch"
|
||||
"${FILESDIR}/${P}-remove-double-config.h-autotools.patch"
|
||||
"${FILESDIR}/${P}-fix-implicit-function-decl.patch"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user