NetBSD Problem Report #36419
From cheusov@tut.by Thu May 31 17:13:12 2007
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id C830563B880
for <gnats-bugs@gnats.netbsd.org>; Thu, 31 May 2007 17:13:11 +0000 (UTC)
Message-Id: <s93hcpsq5lq.fsf@chen.chizhovka.net>
Date: Thu, 31 May 2007 20:13:05 +0300
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: pkgxmkmf and XAPPLOADDIR=/etc/X11/app-defaults on Debian Linux
X-Send-Pr-Version: 3.95
>Number: 36419
>Category: pkg
>Synopsis: pkgxmkmf and XAPPLOADDIR=/etc/X11/app-defaults on Debian Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 31 17:15:01 +0000 2007
>Last-Modified: Sun Mar 27 18:37:24 +0000 2011
>Originator: cheusov@tut.by
>Release: NetBSD 4.0_BETA2
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
Debian Linux 4.0
>Description:
Given:
NetBSD 4.0 beta2 and Linux/Debian sarge systems,
X11_TYPE is set to 'native'
xpkgwedge-1.16 is installed
Imakefile based project (wip/xxkb)
The problem is that under Debian Linux pkgxmkmf produces
XAPPLOADDIR=/etc/X11/app-defaults
line in Makefile. This obviously results in packaging error
because the default resource file is installed outside LOCALBASE.
Under NetBSD everything works fine because
XAPPLOADDIR=$(LIBDIR)/app-defaults
is produced.
>How-To-Repeat:
>Fix:
The following patch for pkgtools/xpkgwedge
works perfectly for me both under Debian Linux and NetBSD.
Index: files/xpkgwedge.def
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/xpkgwedge/files/xpkgwedge.def,v
retrieving revision 1.12
diff -u -r1.12 xpkgwedge.def
--- files/xpkgwedge.def 31 Jul 2004 01:42:06 -0000 1.12
+++ files/xpkgwedge.def 31 May 2007 15:45:32 -0000
@@ -1,5 +1,7 @@
/* $NetBSD: xpkgwedge.def,v 1.12 2004/07/31 01:42:06 xtraeme Exp $ */
+#define EtcX11Directory LibDir
+
#ifdef BeforeVendorCF
/*
>Release-Note:
>Audit-Trail:
[20110327 shattered] edited Environment: field
>Unformatted:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.