summaryrefslogtreecommitdiff
path: root/net/smokeping/patches/patch-ae
blob: 020b9271ce18b233fba8ff4f8818aa337f5e2a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.2 2012/02/02 18:54:35 bouyer Exp $

--- htdocs/Makefile.in.orig	2012-02-02 15:51:17.000000000 +0100
+++ htdocs/Makefile.in	2012-02-02 15:52:04.000000000 +0100
@@ -424,7 +424,7 @@
 install-data-local:
 	$(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
 	$(ECHO)	"#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
-	$(ECHO)	"$(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+	$(ECHO)	"$(prefix)/bin/smokeping_cgi @PKG_SYSCONFDIR@/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
 	chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.