summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-12-30 12:22:31 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-30 12:22:31 +0100
commit044bc21d474ceab71cd310171ba95c0630e38bba (patch)
treec099051d16a64a6de6a20ebb0b36bf122724e88d
parentnet-print/cndrvcups-common-lb: Respect CC (diff)
downloadgentoo-044bc21d474ceab71cd310171ba95c0630e38bba.tar.gz
gentoo-044bc21d474ceab71cd310171ba95c0630e38bba.tar.bz2
gentoo-044bc21d474ceab71cd310171ba95c0630e38bba.zip
app-cdr/dvdisaster: Respect CC
Closes: https://github.com/gentoo/gentoo/pull/18880 Closes: https://bugs.gentoo.org/760636 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild b/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
index da320cf5b6a4..242cffbb8bb8 100644
--- a/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
+++ b/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
@@ -35,6 +35,11 @@ PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
DOCS=( CHANGELOG CREDITS.en README README.MODIFYING TODO TRANSLATION.HOWTO )
+src_prepare() {
+ default
+ sed -i -e "s@CC=gcc@CC=$(tc-getCC)@" scripts/bash-based-configure || die
+}
+
src_configure() {
./configure \
--prefix="${EPREFIX}"/usr \