diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-09-21 16:57:17 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-09-21 16:58:59 +0300 |
commit | fd9fba0eeb3a25cf3d1d760872183ceb78c700bd (patch) | |
tree | 4a2507cb3c5fc4215d52f5c433f669a0d29a0bce /net-print | |
parent | dev-libs/libstrophe: remove .a files (diff) | |
download | gentoo-fd9fba0eeb3a25cf3d1d760872183ceb78c700bd.tar.gz gentoo-fd9fba0eeb3a25cf3d1d760872183ceb78c700bd.tar.bz2 gentoo-fd9fba0eeb3a25cf3d1d760872183ceb78c700bd.zip |
net-print/cnrdrvcups-lb: fix "calls ar directly" bug
Closes: https://bugs.gentoo.org/735966
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10-r1.ebuild b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10-r1.ebuild index 892991608452..6d4bbe74b3f6 100644 --- a/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10-r1.ebuild +++ b/net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.10-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools desktop flag-o-matic +inherit autotools desktop flag-o-matic toolchain-funcs MY_DOWNLOAD_ID="8/0100007658/14" MY_PV="${PV//\./}" @@ -100,6 +100,9 @@ src_prepare() { die "Failed to modify cnsetuputil2.desktop file." append-cflags -fcommon + + # For some reason, @AR@ is defined everywhere else correctly, but not here. + sed -i -e "s/AR = ar/AR = $(tc-getAR)/g" ./cnrdrvcups-common-${PV}/buftool/Makefile.in || die } src_configure() { |