pkgsrc/x11/imwheel/patches/patch-ab
2009-02-16 18:21:24 +00:00

18 lines
833 B
Text

$NetBSD: patch-ab,v 1.2 2009/02/16 18:21:24 joerg Exp $
--- Makefile.in.orig Thu Feb 22 08:41:40 2001
+++ Makefile.in
@@ -581,9 +581,11 @@
@SUID_TRUE@ progname=$(DESTDIR)$(bindir)/`echo imwheel|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` ; \
@SUID_TRUE@ chown @suid@ $$progname ; \
@SUID_TRUE@ chmod u+s $$progname
-@SUID_TRUE@ install -m 644 imwheelrc /etc/imwheelrc
+@SUID_TRUE@ install -d ${DESTDIR}${PREFIX}/share/examples/imwheel
+@SUID_TRUE@ install -c -m 644 imwheelrc ${DESTDIR}${PREFIX}/share/examples/imwheel/imwheelrc
@SUID_FALSE@install-exec-hook:
-@SUID_FALSE@ install -m 644 imwheelrc /etc/imwheelrc
+@SUID_FALSE@ install -d ${DESTDIR}${PREFIX}/share/examples/imwheel
+@SUID_FALSE@ install -c -m 644 imwheelrc ${DESTDIR}${PREFIX}/share/examples/imwheel/imwheelrc
extras: $(EXTRA_PROGRAMS)