[packages/adapter: 204/631] - _pkgconfigdir macro
glen
glen at pld-linux.org
Mon Sep 12 19:51:33 CEST 2016
commit 7c6b85c442d6d0f8fd5f2f6047c484cbc84fc657
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Oct 10 08:24:04 2005 +0000
- _pkgconfigdir macro
Changed files:
adapter.awk -> 1.195
adapter.awk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 34039c8..96a2919 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -845,7 +845,10 @@ function use_macros()
}
gsub(examplesdir, "%{_examplesdir}")
- gsub("/usr/lib/pkgconfig", "%{_libdir}/pkgconfig")
+
+ gsub(libdir "/pkgconfig", "%{_pkgconfigdir}");
+ gsub("%{_libdir}/pkgconfig", "%{_pkgconfigdir}");
+ gsub("%{_prefix}/lib/pkgconfig", "%{_pkgconfigdir}");
if (prefix != "/") {
# leave --with-foo=/usr alone
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list