[packages/adapter: 96/631] - /usr/src/linux => %%{_kernelsrcdir} - same with %%{_prefix}/src/linux
glen
glen at pld-linux.org
Mon Sep 12 19:42:30 CEST 2016
commit 9aece8c871901edb8c31fee4b94221f41bf2468c
Author: saq <saq at pld-linux.org>
Date: Sun Aug 19 20:57:17 2001 +0000
- /usr/src/linux => %%{_kernelsrcdir}
- same with %%{_prefix}/src/linux
Changed files:
adapter.awk -> 1.96
adapter.awk | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 1207201..9ceb481 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -617,6 +617,9 @@ function use_macros()
gsub("^make$", "%{__make}")
gsub("^make ", "%{__make} ")
+
+ gsub("/usr/src/linux", "%{_kernelsrcdir}")
+ gsub("%{_prefix}/src/linux", "%{_kernelsrcdir}")
}
function use_files_macros()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list