[packages/adapter: 353/631] - use php(ext) virtuals only for pkgs with lowercase names

glen glen at pld-linux.org
Mon Sep 12 20:04:02 CEST 2016


commit 476b9761217bdef101b70ce1f7bd737fb2597a07
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 5 22:19:13 2006 +0000

    - use php(ext) virtuals only for pkgs with lowercase names
    
    Changed files:
        adapter.awk -> 1.340

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 3dac3ed..797751c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1624,7 +1624,7 @@ function replace_php_virtual_deps()
 #        return
 #    }
 
-    if (pkg ~ /^php-/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs|program|ZendOptimizer|pecl-)/) {
+    if (pkg ~ /^php-[a-z]/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs|program|pecl-)/) {
         sub(/^php-/, "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