openbsd-ports/graphics/imlib/patches/patch-config_Makefile_in
brad ab6b751fd5 - move config files from SYSCONFDIR to SYSCONFDIR/imlib
- make sure the path in the sample imrc pointing to im_pallete.pal
is for SYSCONFDIR/imlib instead of PREFIX/share/examples/imlib
2003-11-14 23:52:42 +00:00

40 lines
1.5 KiB
Plaintext

--- config/Makefile.in.orig 2002-03-25 11:50:27.000000000 -0500
+++ config/Makefile.in 2003-11-13 16:15:46.000000000 -0500
@@ -120,21 +120,21 @@ Makefile: $(srcdir)/Makefile.in $(top_b
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/examples/imlib
@list='$(sysconf_DATA)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/examples/imlib/$$p"; \
+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/examples/imlib/$$p; \
else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/examples/imlib/$$p"; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/examples/imlib/$$p; \
fi; fi; \
done
uninstall-sysconfDATA:
@$(NORMAL_UNINSTALL)
list='$(sysconf_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(sysconfdir)/$$p; \
+ rm -f $(DESTDIR)$(datadir)/examples/imlib/$$p; \
done
tags: TAGS
TAGS:
@@ -179,7 +179,7 @@ all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/examples/imlib
mostlyclean-generic: