aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-06-05 20:21:31 +0200
committerLucio Sauer <watermanpaint@posteo.net>2024-06-05 20:55:37 +0200
commite4a6ef7d9be33b9e618d0edd486f25b2632130f1 (patch)
tree2692a7ebd0a315a028c8fc062485add00e4b4051 /media-sound
parentmedia-sound/kew: don't call gcc as CC directly (diff)
downloadguru-e4a6ef7d9be33b9e618d0edd486f25b2632130f1.tar.gz
guru-e4a6ef7d9be33b9e618d0edd486f25b2632130f1.tar.bz2
guru-e4a6ef7d9be33b9e618d0edd486f25b2632130f1.zip
media-sound/kew: respect user {C,LD}FLAGS
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/kew/kew-2.4.4-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media-sound/kew/kew-2.4.4-r1.ebuild b/media-sound/kew/kew-2.4.4-r1.ebuild
index 421d9a8da..1b44e2374 100644
--- a/media-sound/kew/kew-2.4.4-r1.ebuild
+++ b/media-sound/kew/kew-2.4.4-r1.ebuild
@@ -24,6 +24,14 @@ sci-libs/fftw:3.0="
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
+src_prepare() {
+ default
+ sed -e "/^CFLAGS += -Wall/s/$/ ${CFLAGS}/" \
+ -e "/^LDFLAGS/s/$/ ${LDFLAGS}/" \
+ -e "/^LIBS/s/$/ ${LDFLAGS}/" \
+ -i Makefile || die
+}
+
src_compile() {
emake CC="$(tc-getCC)"
}