commit 9e4fc151097cd79f0cdcbc72f32c2d2426418337
Author: Sebastian Zagrodzki <[email protected]>
Date:   Tue Sep 12 21:48:26 2000 +0000

    - added removal of "LDFLAGS=-s" and "export ... LDFLAGS .."
    
    Changed files:
        adapter.awk -> 1.76

 adapter.awk | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 7b71164..93b47c3 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -181,6 +181,16 @@ defattr == 1 {
 
 # Scripts
 {
+       if (/LDFLAGS/) {
+               gsub(/LDFLAGS="?.*?"?[ \t]*;?/,"");
+               if (/export/) {
+                       gsub(/LDFLAGS(="?.*?"?)?[ \t]*/,"");
+                       gsub("export[ \t]*(;|$)","");
+               }
+               if (/^[ \t]*$/)
+                       next
+       }
+
        if ($1 ~ /^mv$/) {
                if ($2 ~ /^-/)
                        sub(/-[A-Za-z0-9]+ /, "", $0)
================================================================

---- gitweb:

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

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

Reply via email to