[packages/adapter: 370/631] - php virtual deps are not always correct

glen glen at pld-linux.org
Mon Sep 12 20:05:28 CEST 2016


commit 81a85bf80b85fb03d775351917ab1805eb5e784c
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Jun 9 09:17:13 2007 +0000

    - php virtual deps are not always correct
    
    Changed files:
        adapter.awk -> 1.357

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 50371bf..95421bc 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1654,7 +1654,7 @@ function replace_php_virtual_deps()
 
 	if (pkg ~ /^php-[a-z]/ && pkg !~ /^php-(pear|common|cli|devel|fcgi|cgi|dirs|program|pecl-)/) {
 		sub(/^php-/, "php(", pkg);
-		sub(/$/, ")", pkg);
+		sub(/$/, ") # verify this correctness -- it may be wanted to use specific not virtual dep", 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