commit 6c2643f292c706d09e44e156d98c9ec9995f28d0
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Aug 24 01:29:50 2012 +0300

    - adapter for php-common -> php(core)

 adapter.awk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index cc3b897..a1597d9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1874,14 +1874,14 @@ function replace_php_virtual_deps(field) {
                }
        }
 
-       if (pkg ~/^php$/) {
-               $2 = "webserver(php)";
+       if (pkg == "php" || pkg == "php-common") {
+               $2 = "php(core)";
                if ($4 ~ /^[0-9]:/) {
                        $4 = substr($4, 3);
                }
        }
 
-       if (pkg ~/^php4$/) {
+       if (pkg == "php4") {
                $2 = "webserver(php)";
                if ($4 ~ /^[0-9]:/) {
                        $4 = substr($4, 3);
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to