2007-09-07 17:15:34 +02:00
|
|
|
$NetBSD: patch-ah,v 1.4 2007/09/07 15:15:35 ghen Exp $
|
2005-12-08 02:04:44 +01:00
|
|
|
|
2007-09-07 17:15:34 +02:00
|
|
|
--- src/wx-console/Makefile.in.orig 2007-05-27 11:34:40.000000000 +0200
|
2005-12-08 02:04:44 +01:00
|
|
|
+++ src/wx-console/Makefile.in
|
2007-09-07 17:15:34 +02:00
|
|
|
@@ -111,14 +111,14 @@ install: all
|
|
|
|
fi
|
|
|
|
$(INSTALL_PROGRAM) bwx-console $(DESTDIR)$(sbindir)/bwx-console
|
|
|
|
@srcconf=bwx-console.conf; \
|
2005-12-08 02:04:44 +01:00
|
|
|
- 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:
|
2007-09-07 17:15:34 +02:00
|
|
|
(cd $(DESTDIR)$(sbindir); $(RMF) bwx-console)
|