[packages/adapter: 344/631] - php deps

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


commit 0bcb9f6f54b441e0d8f7fe44518d68d81a31ff73
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Nov 26 15:50:31 2006 +0000

    - php deps
    
    Changed files:
        adapter.awk -> 1.331

 adapter.awk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index c8503f4..a768b0e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1612,7 +1612,12 @@ function add_br(br)
 function replace_php_virtual_deps()
 {
     pkg = $2
-    if (pkg ~ /^php-/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs)/) {
+#    if (pkg == "php-program") {
+#        $0 = $1 "\t/usr/bin/php"
+#        return
+#    }
+
+    if (pkg ~ /^php-/ && 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