[packages/adapter: 594/631] adapter: subst pecl packages as well

glen glen at pld-linux.org
Mon Sep 12 20:24:13 CEST 2016


commit aab33b0b3ce88ae48457e1be57fa71431d1703cb
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 22 23:13:13 2014 +0300

    adapter: subst pecl packages as well

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 676bedc..abb0ddd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1965,6 +1965,10 @@ function replace_php_virtual_deps(field) {
 			sub(/^php-/, "php(", pkg)
 			sub(/$/, ")", pkg)
 			$2 = pkg
+		} else if (pkg ~ /^php-pecl-/) {
+			sub(/^php-pecl-/, "php(", pkg)
+			sub(/$/, ")", pkg)
+			$2 = pkg
 		}
 	}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list