diff options
-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() { |