summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2013-03-13 23:54:19 +1100
committerTony Cook <tony@develop-help.com>2013-03-13 23:54:19 +1100
commitfbe6fff787fe84ef019f725d2020dcc7c5281a7d (patch)
tree283dd3825b93d495aa82397ee6f051d0b99a0841 /makedepend.SH
parent61b311ca7a099d3f94a7ae94452bbdd59acb5c57 (diff)
downloadperl-fbe6fff787fe84ef019f725d2020dcc7c5281a7d.tar.gz
make the recent changes to makedepend more portable
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.
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH4
1 files changed, 2 insertions, 2 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 4bfb3255bc..5669b8de1b 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -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' \