$NetBSD: patch-bg,v 1.5 2009/12/09 10:13:03 drochner Exp $

--- include/Makefile.in.orig	2009-12-01 02:53:28.000000000 +0100
+++ include/Makefile.in
@@ -696,7 +696,8 @@ maintainer-clean-generic:
 	-rm -f Makefile.in configure.h.in
 
 install-data-local: install-includeHEADERS
-	sed -e '/^\/\*_x_/d' xine.h > $(DESTDIR)$(includedir)/xine.h
+	sed -e '/^\/\*_x_/d' xine.h > installed-xine.h
+	$(INSTALL_HEADER) installed-xine.h $(DESTDIR)$(includedir)/xine.h
 @GENERATED_INTTYPES_H_TRUE@	$(INSTALL) inttypes.h $(DESTDIR)$(includedir)
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
