fix xawtv install

svn path=/nixpkgs/trunk/; revision=4580
This commit is contained in:
Armijn Hemel 2006-01-20 12:10:28 +00:00
parent 3e9727a48d
commit 5941ccfbea

View file

@ -1,14 +1,21 @@
diff -ruN xawtv-3.95/Makefile.in xawtv-3.95.new/Makefile.in
--- xawtv-3.95/Makefile.in 2004-04-22 16:52:29.000000000 +0200
+++ xawtv-3.95.new/Makefile.in 2006-01-04 00:15:04.000000000 +0100
@@ -2,8 +2,8 @@
VPATH := $(srcdir)
+++ xawtv-3.95.new/Makefile.in 2006-01-20 13:07:00.000000000 +0100
@@ -3,7 +3,7 @@
# for package builds (buildroot install + no root privs needed)
-DESTDIR=
DESTDIR=
-SUID_ROOT=-m4755 -o root
+DESTDIR=$(out)
+SUID_ROOT=
# install paths
prefix := @prefix@
@@ -12,7 +12,7 @@
mandir := $(DESTDIR)@mandir@
libdir := $(DESTDIR)@libdir@/xawtv
datadir := $(DESTDIR)@datadir@/xawtv
-resdir := $(DESTDIR)@resdir@
+resdir := $(out)@resdir@
config := @x11conf@/xawtvrc
# programs