--- prayertime/Makefile.orig	2006-09-21 16:37:51 UTC
+++ prayertime/Makefile
@@ -10,10 +10,10 @@ demo_prayer:
 
 install: all
 	@echo "==> Installing prayertime component..."
-	test -d $(PREFIX)/include/itl \
-	|| install $(PREFIX)/include/itl \
+	test -d $(DESTDIR)$(PREFIX)/include/itl \
+	|| install $(DESTDIR)$(PREFIX)/include/itl \
 	|| exit 1;
-	install src/prayer.h $(PREFIX)/include/itl
+	install src/prayer.h $(DESTDIR)$(PREFIX)/include/itl
 
 uninstall:
 	@echo "==> Uninstalling prayertime component..."
