NetBSD Problem Report #32026

From ghen@telenet.be  Wed Nov  9 13:41:59 2005
Return-Path: <ghen@telenet.be>
Received: from europa.telenet-ops.be (europa.telenet-ops.be [195.130.137.75])
	by narn.netbsd.org (Postfix) with ESMTP id 7D8FA63BA19
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  9 Nov 2005 13:41:58 +0000 (UTC)
Message-Id: <200511091341.jA9Dfuoe005400@lori.mine.nu>
Date: Wed, 9 Nov 2005 14:41:56 +0100 (CET)
From: Geert Hendrickx <ghen@telenet.be>
Reply-To: ghen@telenet.be
To: gnats-bugs@netbsd.org
Subject: shells/zsh doesn't respect PKG_SYSCONFDIR
X-Send-Pr-Version: 3.95

>Number:         32026
>Category:       pkg
>Synopsis:       shells/zsh doesn't respect PKG_SYSCONFDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    uebayasi
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 09 13:42:00 +0000 2005
>Closed-Date:    Sat Nov 26 15:43:22 +0000 2005
>Last-Modified:  Sat Nov 26 15:49:00 +0000 2005
>Originator:     Geert Hendrickx
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD lori.mine.nu 3.0_BETA NetBSD 3.0_BETA (LORI) #0: Sat Oct 8 13:42:03 CEST 2005 geert@lori.mine.nu:/cvs/obj/sys/arch/i386/compile/LORI i386
Architecture: i386
Machine: i386
>Description:
zsh looks for its config files (zshrc, zprofile, zlogin, ...) in /etc instead
of ${PKG_SYSCONFDIR}.  

Its ./configure script has a nice --enable-etcdir flag for this, so we should
set it to ${PKG_SYSCONFDIR}.  
>How-To-Repeat:
>Fix:
Index: Makefile.common
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/shells/zsh/Makefile.common,v
retrieving revision 1.29
diff -u -r1.29 Makefile.common
--- Makefile.common	26 Oct 2005 00:04:54 -0000	1.29
+++ Makefile.common	9 Nov 2005 13:38:04 -0000
@@ -16,6 +16,8 @@
 USE_PKGINSTALL=		yes
 GNU_CONFIGURE=		yes

+CONFIGURE_ARGS+=	--enable-etcdir=${PKG_SYSCONFDIR}
+
 USE_MAKEINFO=		yes
 INFO_FILES=		zsh.info
 TEXINFO_REQD=		4.0

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->uebayasi
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Wed, 09 Nov 2005 19:22:41 +0000
Responsible-Changed-Why:

Assigned to maintainer.


From: Masao Uebayashi <uebayasi@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32026 CVS commit: pkgsrc/shells/zsh
Date: Sat, 26 Nov 2005 15:41:16 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	uebayasi
 Date:		Sat Nov 26 15:41:16 UTC 2005

 Modified Files:
 	pkgsrc/shells/zsh: Makefile Makefile.common

 Log Message:
 Honour PKG_SYSCONFDIR.  Bump revision.

 PR32026 from Geert Hendrickx.


 To generate a diff of this commit:
 cvs rdiff -r1.49 -r1.50 pkgsrc/shells/zsh/Makefile
 cvs rdiff -r1.29 -r1.30 pkgsrc/shells/zsh/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: uebayasi@netbsd.org
State-Changed-When: Sat, 26 Nov 2005 15:43:22 +0000
State-Changed-Why:
Patch committed.  Thanks!


From: Masao Uebayashi <uebayasi@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32026 CVS commit: pkgsrc/doc
Date: Sat, 26 Nov 2005 15:42:36 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	uebayasi
 Date:		Sat Nov 26 15:42:36 UTC 2005

 Modified Files:
 	pkgsrc/doc: CHANGES

 Log Message:
 zsh-4.2.5nb2; honour PKG_SYSCONFDIR.  PR32026 from Geert Hendrickx.


 To generate a diff of this commit:
 cvs rdiff -r1.12045 -r1.12046 pkgsrc/doc/CHANGES

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.