# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../newt/deplist-fix.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur newt-0.51.6.orig/Makefile.in newt-0.51.6/Makefile.in
--- newt-0.51.6.orig/Makefile.in	2003-01-04 21:15:25.000000000 +0200
+++ newt-0.51.6/Makefile.in	2005-09-15 22:15:33.000000000 +0300
@@ -95,7 +95,9 @@
 		$(SHAREDOBJS) *.so*
 
 depend:
-	$(CPP) $(CFLAGS) -M $(SOURCES) > .depend
+	rm -f .depend; for i in $(SOURCES); do \
+	$(CPP) $(CFLAGS) -M $$i >> .depend; \
+	done
 
 $(SHAREDDIR):
 	mkdir -p $(SHAREDDIR)