mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/dragon: pass flags to makefile
Closes: https://bugs.gentoo.org/780765 Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
@@ -14,6 +14,12 @@ SLOT="0"
|
||||
DEPEND=">=x11-libs/gtk+-3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 $(CFLAGS) \2 $(LDFLAGS)/' \
|
||||
-i Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/usr/bin" install
|
||||
dodoc README
|
||||
|
||||
Reference in New Issue
Block a user