mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
188c8ca8d4
to fix build with GCC 4.2.0.
21 lines
519 B
Plaintext
21 lines
519 B
Plaintext
--- makedepend.SH.orig Fri Jan 22 01:10:23 1999
|
|
+++ makedepend.SH Tue Dec 3 01:11:02 2002
|
|
@@ -68,6 +68,7 @@
|
|
case "$osname" in
|
|
os2) ;;
|
|
netbsd) ;;
|
|
+ freebsd) ;;
|
|
*) $touch $firstmakefile ;;
|
|
esac
|
|
fi
|
|
@@ -129,6 +130,9 @@
|
|
$cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
|
|
$sed \
|
|
-e '/^#.*<stdin>/d' \
|
|
+ -e '/^#.*<built-in>/d' \
|
|
+ -e '/^#.*<command line>/d' \
|
|
+ -e '/^#.*<command-line>/d' \
|
|
-e '/^#.*"-"/d' \
|
|
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
|
|
-e 's/^[ ]*#[ ]*line/#/' \
|