summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-04-13 16:54:02 +0000
committerrillig <rillig@pkgsrc.org>2005-04-13 16:54:02 +0000
commit6d28018b119c614884140ebf34f8e497ecbcc18b (patch)
treead6cb3774d32455f650fe75a4773c6e762e4e942 /multimedia/xine-lib/patches
parent53ebb0f48e0ae4992169ca62c0e6f8ba4d749aae (diff)
downloadpkgsrc-6d28018b119c614884140ebf34f8e497ecbcc18b.tar.gz
Added a patch that allows non-root users to install xine.h, even when the
files are installed read-only. Approved by jlam.
Diffstat (limited to 'multimedia/xine-lib/patches')
-rw-r--r--multimedia/xine-lib/patches/patch-bg17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-bg b/multimedia/xine-lib/patches/patch-bg
new file mode 100644
index 00000000000..f780fd10faa
--- /dev/null
+++ b/multimedia/xine-lib/patches/patch-bg
@@ -0,0 +1,17 @@
+$NetBSD: patch-bg,v 1.1 2005/04/13 16:54:03 rillig Exp $
+
+All files in $(DESTDIR) may be marked read-only, so better use the
+INSTALL_HEADER tools to overwrite them correctly.
+
+--- include/Makefile.in.orig Sat Dec 25 23:34:48 2004
++++ include/Makefile.in Tue Apr 12 11:04:43 2005
+@@ -727,7 +727,8 @@ maintainer-clean-generic:
+ -rm -f Makefile.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
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: