1 |
commit: 0022435d4704b2e41b89091b0229a77c79354ce0 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 10:36:08 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 10:36:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0022435d |
7 |
|
8 |
media-gfx/libredwg: 0.12.5: fix install of perl bindings |
9 |
|
10 |
This broke because we moved from the release tarball to the tagged tarball |
11 |
|
12 |
Closes: https://bugs.gentoo.org/833881 |
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
15 |
|
16 |
media-gfx/libredwg/libredwg-0.12.5.ebuild | 8 ++------ |
17 |
1 file changed, 2 insertions(+), 6 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/libredwg/libredwg-0.12.5.ebuild b/media-gfx/libredwg/libredwg-0.12.5.ebuild |
20 |
index 0d74bb5e092f..8f14bdef8e11 100644 |
21 |
--- a/media-gfx/libredwg/libredwg-0.12.5.ebuild |
22 |
+++ b/media-gfx/libredwg/libredwg-0.12.5.ebuild |
23 |
@@ -55,6 +55,8 @@ src_unpack() { |
24 |
|
25 |
src_prepare() { |
26 |
default |
27 |
+ # Fix variable references itself error, fails in src_install otherwise. |
28 |
+ sed -i -e 's/TEXINPUTS="$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS="$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile.am || die |
29 |
# https://github.com/LibreDWG/libredwg/issues/404 |
30 |
# Workaround: release tarball does not include dwg2ps.1. |
31 |
# Upstream autotools stuff has to be run in git repo |
32 |
@@ -89,11 +91,6 @@ src_configure() { |
33 |
fi |
34 |
|
35 |
econf ${myconf[@]} |
36 |
- |
37 |
- # Fix variable references itself error, fails in src_install otherwise. |
38 |
- # Can't put this in src_prepare and use eautoreconf because eautoreconf |
39 |
- # only works inside a git repository for this package. |
40 |
- sed -i -e 's/TEXINPUTS = "$(TEXINPUTS)$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/TEXINPUTS += "$(PATH_SEPARATOR)$(TEXINFO_TEX_DIR)"/g' doc/Makefile || die |
41 |
} |
42 |
|
43 |
src_compile() { |
44 |
@@ -106,5 +103,4 @@ src_install() { |
45 |
perl_set_version |
46 |
default |
47 |
use python && python_optimize |
48 |
- use perl && perl_domodule bindings/perl/LibreDWG.pm |
49 |
} |