mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
app-crypt/gnupg: Sync with Gentoo
It's from Gentoo commit 4243ec120cc8dd0fb4ab9a34592f7af099145af0.
This commit is contained in:
parent
dc07c76360
commit
1d5835b298
@ -95,6 +95,10 @@ src_prepare() {
|
||||
# which in turn requires discovery in Autoconf, something that upstream deeply resents.
|
||||
sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \
|
||||
-i "${T}"/gpg-agent-ssh.socket || die
|
||||
|
||||
# definition of getpeername etc uses different things like socket_fd_t
|
||||
[[ ${CHOST} == *-solaris* ]] &&
|
||||
append-cflags $(test-flags-CC -Wno-incompatible-pointer-types)
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
@ -132,7 +136,7 @@ my_src_configure() {
|
||||
--enable-large-secmem
|
||||
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
ac_cv_path_GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
|
||||
GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
|
||||
|
||||
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user