net-misc/gnome-ssh-askpass: add missing deps & set LDFLAGS

Adds missing packages in RDEPEND, as well as setting LDFLAGS, sin-
ce this is not done from upstream.

Closes: https://bugs.gentoo.org/953339
Closes: https://bugs.gentoo.org/953338
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
bakedsnake committed 2026-08-09 22:54:44 +02:00
1 parent 7780fcfdf0
commit 3d872aaf48
3 files changed
+45 -6

No files matched your search

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig
MY_P="openssh-${PV/_p/p}"
DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH"
HOMEPAGE="https://www.openssh.com/"
HOMEPAGE="https://www.openssh.org/"
SRC_URI="
mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz
verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc )
@@ -20,6 +20,12 @@ KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
app-accessibility/at-spi2-core
media-libs/harfbuzz
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/libX11
x11-libs/pango
dev-libs/glib:2
x11-libs/gtk+:3
"
@@ -39,6 +45,13 @@ src_unpack() {
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc}
}
src_prepare() {
default
# Upstream does not set LDFLAGS, so we do it ourselves.
sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \
|| die "Could not set LDFLAGS"
}
src_configure() {
tc-export CC
}
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig
MY_P="openssh-${PV/_p/p}"
DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH"
HOMEPAGE="https://www.openssh.com/"
HOMEPAGE="https://www.openssh.org/"
SRC_URI="
mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz
verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc )
@@ -21,6 +21,12 @@ IUSE="gtk4"
RESTRICT="test"
RDEPEND="
app-accessibility/at-spi2-core
media-libs/harfbuzz
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/libX11
x11-libs/pango
dev-libs/glib:2
gtk4? (
app-crypt/gcr:4
@@ -44,6 +50,13 @@ src_unpack() {
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc}
}
src_prepare() {
default
# Upstream does not set LDFLAGS, so we do it ourselves.
sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \
|| die "Could not set LDFLAGS"
}
src_configure() {
tc-export CC
}
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig
MY_P="openssh-${PV/_p/p}"
DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH"
HOMEPAGE="https://www.openssh.com/"
HOMEPAGE="https://www.openssh.org/"
SRC_URI="
mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz
verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc )
@@ -20,6 +20,12 @@ KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
app-accessibility/at-spi2-core
media-libs/harfbuzz
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/libX11
x11-libs/pango
dev-libs/glib:2
x11-libs/gtk+:3
"
@@ -39,6 +45,13 @@ src_unpack() {
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc}
}
src_prepare() {
default
# Upstream does not set LDFLAGS, so we do it ourselves.
sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \
|| die "Could not set LDFLAGS"
}
src_configure() {
tc-export CC
}