[packages/adapter: 142/631] - replace prefix/lib with _libdir

glen glen at pld-linux.org
Mon Sep 12 19:46:22 CEST 2016


commit 69ea89fcd5562bdf37cf30e0b3ed9911d0b3bee2
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Mar 2 22:06:24 2005 +0000

    - replace prefix/lib with _libdir
    
    Changed files:
        adapter.awk -> 1.137

 adapter.awk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 95911b2..d43de97 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -568,9 +568,13 @@ function use_macros()
 	}
 
 	gsub("%{prefix}/sbin", "%{_sbindir}")
-	if(prefix"/sbin" == sbindir)
+	if (prefix"/sbin" == sbindir)
 		gsub("%{_prefix}/sbin", "%{_sbindir}")
 
+	gsub("%{prefix}/lib", "%{_libdir}")
+	if (prefix"/lib" == libdir)
+		gsub("%{_prefix}/lib", "%{_libdir}")
+
 	for (c = 1; c <= NF; c++) {
 		if ($c ~ sysconfdir "/{?cron.")
 			continue;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list