mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
gui-apps/wev: add dev-{libs,util}/wayland-{protocols,scanner} bdependency
* respect LDFLAGS * move PREFIX location fix to existing sed statement Closes: https://bugs.gentoo.org/781056 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
@@ -18,10 +18,16 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
dev-libs/wayland-protocols
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_install() {
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
src_prepare() {
|
||||
default
|
||||
# Respect LDFLAGS
|
||||
# Install to /usr/ not /usr/local/
|
||||
sed -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/' \
|
||||
-e 's/local//' \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user