$NetBSD: patch-ah,v 1.3 2005/12/08 01:04:45 wiz Exp $

--- src/wx-console/Makefile.in.orig	2005-04-26 17:04:27.000000000 +0200
+++ src/wx-console/Makefile.in
@@ -105,14 +105,14 @@ Makefile: $(srcdir)/Makefile.in $(topdir
 install: all
 	$(INSTALL_PROGRAM) wx-console $(DESTDIR)$(sbindir)/wx-console
 	@srcconf=wx-console.conf; \
-	if  test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
+	if  test -f ${DESTDIR}%%EXAMPLESDIR%%/$$srcconf; then \
 	   destconf=$$srcconf.new; \
 	   echo "  ==> Found existing $$srcconf, installing new conf file as $$destconf"; \
 	else \
 	   destconf=$$srcconf; \
 	fi; \
-	echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
-	${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
+	echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf"; \
+	${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf
 
 uninstall:
 	(cd $(DESTDIR)$(sbindir); $(RMF) wx-console)
