1 |
commit: a2347a922275f14589d34fbdbf284917c58bb988 |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Thu Apr 15 05:49:27 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Thu Apr 15 07:09:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2347a92 |
7 |
|
8 |
gui-apps/wev: add dev-{libs,util}/wayland-{protocols,scanner} bdependency |
9 |
|
10 |
* respect LDFLAGS |
11 |
* move PREFIX location fix to existing sed statement |
12 |
|
13 |
Closes: https://bugs.gentoo.org/781056 |
14 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
15 |
|
16 |
gui-apps/wev/wev-1.0.0.ebuild | 10 ++++++++-- |
17 |
1 file changed, 8 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/gui-apps/wev/wev-1.0.0.ebuild b/gui-apps/wev/wev-1.0.0.ebuild |
20 |
index 9e96f8688..bc72849eb 100644 |
21 |
--- a/gui-apps/wev/wev-1.0.0.ebuild |
22 |
+++ b/gui-apps/wev/wev-1.0.0.ebuild |
23 |
@@ -18,10 +18,16 @@ DEPEND=" |
24 |
RDEPEND="${DEPEND}" |
25 |
BDEPEND=" |
26 |
app-text/scdoc |
27 |
+ dev-libs/wayland-protocols |
28 |
+ dev-util/wayland-scanner |
29 |
virtual/pkgconfig |
30 |
" |
31 |
|
32 |
-src_install() { |
33 |
- export PREFIX="${EPREFIX}/usr" |
34 |
+src_prepare() { |
35 |
default |
36 |
+ # Respect LDFLAGS |
37 |
+ # Install to /usr/ not /usr/local/ |
38 |
+ sed -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/' \ |
39 |
+ -e 's/local//' \ |
40 |
+ -i Makefile || die |
41 |
} |