openbsd-ports/textproc/sphinx/patches/patch-Makefile_in
giovanni da2d8d2eca Update to 2.0.4
Maintainer timed out
2012-07-19 14:56:59 +00:00

23 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.3 2012/07/19 14:56:59 giovanni Exp $
--- Makefile.in.orig Sat Jun 11 16:19:49 2011
+++ Makefile.in Mon Jul 9 08:34:52 2012
@@ -288,15 +288,15 @@ sphinx-min.conf.dist: $(top_builddir)/config.status $(
cd $(top_builddir) && $(SHELL) ./config.status $@
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
+ test -z "$(datadir)/examples/sphinx" || $(MKDIR_P) "$(DESTDIR)$(datadir)/examples/sphinx"
@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)/examples/sphinx/'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(datadir)/examples/sphinx/" || exit $$?; \
done
uninstall-sysconfDATA: