Author: glen                         Date: Tue Aug 24 09:28:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pear demacros

---- Files affected:
packages:
   adapter.awk (1.466 -> 1.467) 

---- Diffs:

================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.466 packages/adapter.awk:1.467
--- packages/adapter.awk:1.466  Sun Aug 22 14:16:38 2010
+++ packages/adapter.awk        Tue Aug 24 11:28:44 2010
@@ -236,6 +236,8 @@
 
        if ($2 ~ /^mod_name$/)
                mod_name = $3
+       if ($2 ~ /^_?pearname$/)
+               pearname = $3
 
        sub(/[ \t]+$/, "");
        # do nothing further, otherwise adapter thinks we're at preamble
@@ -1666,6 +1668,12 @@
 {
        if (mod_name) {
                sub("%{mod_name}", mod_name, str);
+       }
+       if (pearname) {
+               sub("%{_pearname}", pearname, str);
+       }
+       if (pearname) {
+               sub("%{pearname}", pearname, str);
        }
        if (name) {
                sub("%{name}", name, str);
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adapter.awk?r1=1.466&r2=1.467&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to