1 |
commit: efaa7c2a861a79513bd80d95d773a8bd6752ba1e |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 6 04:01:34 2017 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 6 04:11:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=efaa7c2a |
7 |
|
8 |
numeric.eclass: use var reference in Libs and Cflags. |
9 |
|
10 |
Closes: https://github.com/gentoo/sci/issues/709 |
11 |
|
12 |
eclass/numeric.eclass | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/numeric.eclass b/eclass/numeric.eclass |
16 |
index ec890c5bf..cb7354542 100644 |
17 |
--- a/eclass/numeric.eclass |
18 |
+++ b/eclass/numeric.eclass |
19 |
@@ -125,9 +125,9 @@ create_pkgconfig() { |
20 |
Requires: ${pcrequires} |
21 |
Requires.private: ${pcrequirespriv} |
22 |
Conflicts: ${pcconflicts} |
23 |
- Libs: -L"${pclibdir}" ${pclibs} |
24 |
+ Libs: -L\${libdir} ${pclibs} |
25 |
Libs.private: ${pclibspriv} |
26 |
- Cflags: -I"${pcincldir}" ${pccflags} |
27 |
+ Cflags: -I\${includedir} ${pccflags} |
28 |
EOF |
29 |
|
30 |
insinto /usr/$(get_libdir)/pkgconfig |