mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
app-crypt/pgp: fix ldflags
Closes: https://bugs.gentoo.org/830340 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -11,12 +11,13 @@ SRC_URI="https://archive.netbsd.org/pub/pkgsrc-archive/distfiles/2021Q3/pgp263is
|
|||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
LICENSE="PGP-2"
|
LICENSE="PGP-2"
|
||||||
SLOT="0/2"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="bindist debug"
|
IUSE="bindist debug"
|
||||||
|
|
||||||
RDEPEND="bindist? ( dev-libs/rsaref )"
|
RDEPEND="bindist? ( dev-libs/rsaref )"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="sys-devel/libtool"
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${P}-sparc.patch
|
"${FILESDIR}"/${P}-sparc.patch
|
||||||
@@ -47,7 +48,8 @@ src_configure() {
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake -C src all \
|
emake -C src all \
|
||||||
CC=$(tc-getCC) LD=$(tc-getCC) CFLAGS="${CFLAGS}" \
|
CC=$(tc-getCC) LD=$(tc-getCC) \
|
||||||
|
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||||
OBJS_EXT=$(usex x86 "_80386.o _zmatch.o" "") \
|
OBJS_EXT=$(usex x86 "_80386.o _zmatch.o" "") \
|
||||||
RSALIBS=$(usex bindist "-lrsaref" "") \
|
RSALIBS=$(usex bindist "-lrsaref" "") \
|
||||||
RSAOBJS=rsaglue$(usex bindist "2" "1").o
|
RSAOBJS=rsaglue$(usex bindist "2" "1").o
|
||||||
|
|||||||
Reference in New Issue
Block a user