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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 09 11:40:00 +0000 2015
>Last-Modified:  Sun Jun 28 14:46:41 +0000 2015
>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:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.