make the recent changes to makedepend more portable
authorTony Cook <tony@develop-help.com>
Wed, 13 Mar 2013 12:54:19 +0000 (23:54 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 13 Mar 2013 12:54:19 +0000 (23:54 +1100)
Solaris complained about the length of the label and produced broken
dependencies.  This caused -Dusedtrace builds to fail since
perldtrace.h wasn't being built.

makedepend.SH

index 4bfb325..5669b8d 100755 (executable)
@@ -153,11 +153,11 @@ for file in `$cat .clist`; do
     ( $echo "#line 2 \"$file\""; \
       $sed -n <$file \
        -e "/^${filebase}_init(/q" \
-        -e ': testcontinuation'       \
+        -e ': testcont'               \
        -e '/^[  ]*#/s|/\*.*\*/||'    \
         -e '/\\$/{'                   \
             -e 'N'                    \
-            -e 'b testcontinuation'   \
+            -e 'b testcont'           \
         -e '}'                        \
         -e 's/\\\n/ /g'               \
        -e '/^#line/d' \