Subject: pkg/18601: wm/icewm does not respect PKG_SYSCONFDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 10/09/2002 22:54:58
>Number:         18601
>Category:       pkg
>Synopsis:       wm/icewm does not respect PKG_SYSCONFDIR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 09 14:12:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 1.6
>Organization:
Einzeln auftretender Radfahrer
>Environment:
System: NetBSD pizza.causeuse.org 1.6 NetBSD 1.6 (PIZZA) #1: 
Wed Sep 11 23:26:21 CEST 2002 
hauke@pizza.causeuse.org:/usr/src/sys/arch/sparc/compile/PIZZA sparc
Architecture: sparc
Machine: sparc
>Description:
	The wm/icewm pkg does not respect PKG_SYSCONFDIR as base for
	its config directory.

>How-To-Repeat:
	Install icewm, find that you do not find the config directory
	where you exect it to be.

	Looks like a lot of gnuconfigure based packages have that quirk.

>Fix:
	While you're here, please update the icewm pkg - current
	stable version is 1.22.
	Then, apply

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/wm/icewm/Makefile.common,v
retrieving revision 1.15
diff -u -r1.15 Makefile.common
--- Makefile.common     2002/08/25 21:51:34     1.15
+++ Makefile.common     2002/10/09 20:40:11
@@ -21,6 +21,7 @@
 .if !exists(/usr/include/machine/apmvar.h)
 CONFIGURE_ARGS+=       --disable-apm
 .endif
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
 .if ${OPSYS} == "NetBSD"
 .if exists(/usr/include/machine/apmvar.h)

>Release-Note:
>Audit-Trail:
>Unformatted:
 wm/icewm/Makefile.common     2002/08/25 21:51:34     1.15