[packages/adapter: 347/631] - php4 should be substituted with new virtual

glen glen at pld-linux.org
Mon Sep 12 20:03:32 CEST 2016


commit dce8736bcb3ea2092d0bc049f8edf7c96bc082e0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Nov 27 21:00:21 2006 +0000

    - php4 should be substituted with new virtual
    
    Changed files:
        adapter.awk -> 1.334

 adapter.awk | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 4ebaed7..2f77946 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1633,6 +1633,13 @@ function replace_php_virtual_deps()
             $4 = substr($4, 3);
         }
     }
+
+    if (pkg ~/^php4$/) {
+        $2 = "webserver(php)";
+        if ($4 ~ /^[0-9]:/) {
+            $4 = substr($4, 3);
+        }
+    }
 }
 
 # vim:ts=4:sw=4:et
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list