x11-themes/elementary-xfce-icon-theme: Override flags for svgtopng

Closes: https://bugs.gentoo.org/764899
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-01-11 10:20:02 +01:00
parent cdba5183fe
commit ec4cd6cfd2
@@ -20,6 +20,12 @@ BDEPEND="media-gfx/optipng
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3"
src_prepare() {
sed -i -e 's:-Werror -O0 -pipe:${CFLAGS} ${CPPFLAGS} ${LDFLAGS}:' \
svgtopng/Makefile || die
default
}
src_configure() {
# custom script
./configure --prefix="${EPREFIX}/usr" || die