File yfklog_Makefile_prefix.patch of Package yfklog

diff -Nur yfklog-0.4.0.orig/Makefile yfklog-0.4.0/Makefile
--- yfklog-0.4.0.orig/Makefile	2008-01-31 01:00:53.000000000 +0100
+++ yfklog-0.4.0/Makefile	2008-06-04 21:04:15.000000000 +0200
@@ -6,8 +6,8 @@
 	@echo "Nothing to do. make install|uninstall|clean|dist [DESTDIR=/usr]"
 
 install:
-	sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfksubs.pl > yfksubs2.pl 
-	sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfk > yfk2 
+	sed 's^prefix="/usr"^prefix="$(PREFIX)"^g' yfksubs.pl > yfksubs2.pl 
+	sed 's^prefix="/usr"^prefix="$(PREFIX)"^g' yfk > yfk2 
 	chmod 0755 yfk
 	install -d -v				$(DESTDIR)/share/yfklog/
 	install -d -v				$(DESTDIR)/share/yfklog/labels/
openSUSE Build Service is sponsored by