NetBSD Problem Report #48991

From njoly@lanfeust.sis.pasteur.fr  Mon Jul 14 10:58:19 2014
Return-Path: <njoly@lanfeust.sis.pasteur.fr>
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 8407BA654C
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Jul 2014 10:58:19 +0000 (UTC)
Message-Id: <20140714105752.DB40AE0639@lanfeust.sis.pasteur.fr>
Date: Mon, 14 Jul 2014 12:57:52 +0200 (CEST)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@NetBSD.org
Subject: xorg-mouse.pc miss includedir definition
X-Send-Pr-Version: 3.95

>Number:         48991
>Category:       xsrc
>Synopsis:       xorg-mouse.pc miss includedir definition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 14 11:00:00 +0000 2014
>Closed-Date:    Wed Jul 16 02:52:13 +0000 2014
>Last-Modified:  Wed Jul 16 02:52:13 +0000 2014
>Originator:     Nicolas Joly
>Release:        NetBSD 6.99.47
>Organization:
Intitut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 6.99.47 NetBSD 6.99.47 (GENERIC) #34: Fri Jul 11 20:38:22 CEST 2014 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
While checking system .pc files, i noticed that pkg-config(1) warns about
missing includedir definition for xorg-mouse.pc

njoly@lanfeust [~]> PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/X11R7/lib/pkgconfig
njoly@lanfeust [~]> export PKG_CONFIG_LIBDIR
njoly@lanfeust [~]> pkg-config --list-all >/dev/null
Variable 'includedir' not defined in '/usr/X11R7/lib/pkgconfig/xorg-mouse.pc'
njoly@lanfeust [~]> cat /usr/X11R7/lib/pkgconfig/xorg-mouse.pc
sdkdir=${includedir}/xorg

Name: xorg-mouse
Description: X.Org mouse input driver for non-evdev OS'es
Version: 1.9.0
Cflags: -I${sdkdir}

>How-To-Repeat:
pkg-config --list-all >/dev/null
>Fix:

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48991 CVS commit: xsrc/external/mit/xf86-input-mouse/dist
Date: Wed, 16 Jul 2014 02:45:47 +0000

 Module Name:	xsrc
 Committed By:	dholland
 Date:		Wed Jul 16 02:45:47 UTC 2014

 Modified Files:
 	xsrc/external/mit/xf86-input-mouse/dist: xorg-mouse.pc.in

 Log Message:
 Because of the way we do substitutions we (currently anyway) need to
 set prefix=@prefix@ and includedir=@includedir@ here. Fixes PR 48991.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 \
     xsrc/external/mit/xf86-input-mouse/dist/xorg-mouse.pc.in

 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: dholland@NetBSD.org
State-Changed-When: Wed, 16 Jul 2014 02:52:13 +0000
State-Changed-Why:
fixed, thanks


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.