aboutsummaryrefslogtreecommitdiffstats
path: root/wlp/module/patch
blob: bc798faf34c13398007fa2e80f8c5fd9b9310072 (plain) (blame)
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