$NetBSD: patch-ad,v 1.2 2004/02/23 23:41:43 jlam Exp $

--- sqwebmail/Makefile.in.orig	Thu Nov 27 16:47:01 2003
+++ sqwebmail/Makefile.in
@@ -817,7 +817,7 @@ install-perms-local: install-perms-cache
 
 htmllibdir.h: config.status
 	echo '#define HTMLLIBDIR "@htmldir@"' >htmllibdir.h
-	echo '#define SENDITSH "$(scriptdir)/sendit.sh"' >>htmllibdir.h
+	echo '#define SENDITSH "$(sysconfdir)/sendit.sh"' >>htmllibdir.h
 	echo '#define NOCHANGINGFROM "$(sysconfdir)/nochangingfrom"' >>htmllibdir.h
 	echo '#define USEXSENDER "$(sysconfdir)/usexsender"' >>htmllibdir.h
 	echo '#define CALENDARMODE "$(sysconfdir)/calendarmode"' >>htmllibdir.h
@@ -835,7 +835,7 @@ htmllibdir.h: config.status
 		; echo '#define MAKEMIME "$(pkglibexecdir)/makemime"' >>htmllibdir.h \
 		; fi
 	echo '#define LDAPADDRESSBOOK "$(sysconfdir)/ldapaddressbook"' >>htmllibdir.h
-	echo '#define LDAPSEARCH "$(scriptdir)/ldapsearch"' >>htmllibdir.h
+	echo '#define LDAPSEARCH "$(sysconfdir)/ldapsearch"' >>htmllibdir.h
 	echo '#define MODULEFILE "$(sysconfdir)/authmodulelist"' >>htmllibdir.h
 	echo '#define NOIMAGES "$(sysconfdir)/noimages"' >>htmllibdir.h
 
