File: patch

package info (click to toggle)
pyg 0.9.6-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 280 kB
  • ctags: 149
  • sloc: python: 615; ansic: 339; sh: 224; makefile: 110; yacc: 81; lex: 75
file content (13 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru pyg-0.9.6-old/wlp/module/Makefile.pre.in pyg-0.9.6/wlp/module/Makefile.pre.in
--- pyg-0.9.6-old/wlp/module/Makefile.pre.in    2003-11-04 08:49:29.000000000 -0800
+++ pyg-0.9.6/wlp/module/Makefile.pre.in        2003-11-04 09:25:16.000000000 -0800
@@ -278,6 +278,9 @@
        echo "/^LINKPATH=/s%=.*%=       $(LINKPATH)%" >>sedscript
        echo "/^BASELIB=/s%=.*%=        $(BASELIB)%" >>sedscript
        echo "/^BASESETUP=/s%=.*%=      $(BASESETUP)%" >>sedscript
+       if ! grep 's%@DEFS' sedscript >/dev/null 2>&1; then \
+               echo "s%@DEFS[@]%%" >>sedscript; \
+       fi

 # Bootstrap target
 boot:  clobber