NetBSD Problem Report #49955

From martin@duskware.de  Tue Jun  9 11:36:07 2015
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AA81BA654B
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  9 Jun 2015 11:36:07 +0000 (UTC)
Date: Tue, 09 Jun 2015 13:36:04 CEST
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: rxvt config file handling broken
X-Send-Pr-Version: 3.95

>Number:         49955
>Notify-List:    gcw@rxvt.org
>Category:       pkg
>Synopsis:       rxvt config file handling broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 09 11:40:00 +0000 2015
>Closed-Date:    Fri Dec 17 17:17:38 +0000 2021
>Last-Modified:  Fri Dec 17 17:17:38 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.18
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 7.99.18 NetBSD 7.99.18 (ERLITE) #32: Mon Jun 8 21:14:35 CEST 2015 martin@night-owl.duskware.de:/usr/src/sys/arch/evbmips/compile/ERLITE evbmips
Architecture: mips64eb
Machine: evbmips
>Description:

The x11/rxvt package has a hack (maybe even introduced by myself) that tries
to install a suplied default config file by checking wether it exists already
in the target directory. This used to work fine in the ancient days, but with
DESTDIR/staged installs and binary pkgs it does not make any sense at all.

Please someone fix it and apply stock config file handling to the "Rxvt"
file.

>How-To-Repeat:

Try to build the pkg while it is already installed on the build machine.

See this sniplet in the makefile:

INSTALLATION_DIRS=	lib/X11/app-defaults

pre-install:
	if [ ! -f ${PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
		${INSTALL_DATA} ${FILESDIR}/Rxvt ${DESTDIR}${PREFIX}/lib/X11/app-defaults; \
	fi


>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 17 Dec 2021 17:17:38 +0000
State-Changed-Why:
This was fixed at some point.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.