Subject: pkg/18242: pkgsrc/net/dante should use PKG_SYSCONFDIR
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/09/2002 23:49:48
>Number:         18242
>Category:       pkg
>Synopsis:       pkgsrc/net/dante should use PKG_SYSCONFDIR instead of PREFIX/etc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 09 14:50:00 PDT 2002
>Originator:     Urban Boquist
>Release:        NetBSD 1.6G
Carlstedt Research & Technology AB, Sweden
System: NetBSD iller 1.6G NetBSD 1.6G (ILLER-$Revision: 1.47 $) #0: Tue Sep 3 01:41:00 CEST 2002 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
	pkgsrc/net/dante/Makefile uses ${PREFIX}/etc to find
	configuration files rather than the recommended ${PKG_SYSCONFDIR}.
Index: Makefile
RCS file: /anoncvs/pkgsrc/net/dante/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2002/07/12 15:13:08	1.7
+++ Makefile	2002/09/09 21:45:18
@@ -15,8 +15,8 @@
-CONFIGURE_ARGS+=	--with-socks-conf=${PREFIX}/etc/socks.conf
-CONFIGURE_ARGS+=	--with-sockd-conf=${PREFIX}/etc/sockd.conf
+CONFIGURE_ARGS+=	--with-socks-conf=${PKG_SYSCONFDIR}/socks.conf
+CONFIGURE_ARGS+=	--with-sockd-conf=${PKG_SYSCONFDIR}/sockd.conf
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dante