From bork@rocky.cc.rsu.ru  Fri Jul 16 13:18:50 2004
Return-Path: <bork@rocky.cc.rsu.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EAA8B16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Jul 2004 13:18:50 +0000 (GMT)
Received: from rocky.cc.rsu.ru (rocky.cc.rsu.ru [195.208.252.128])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3620343D54
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Jul 2004 13:18:50 +0000 (GMT)
	(envelope-from bork@rocky.cc.rsu.ru)
Received: from rocky.cc.rsu.ru (localhost [127.0.0.1])
	by rocky.cc.rsu.ru (8.12.10/8.12.10) with ESMTP id i6GDEA9U072286
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Jul 2004 17:14:11 +0400 (MSD)
	(envelope-from bork@rocky.cc.rsu.ru)
Received: (from root@localhost)
	by rocky.cc.rsu.ru (8.12.10/8.12.10/Submit) id i6GDEAlD072285;
	Fri, 16 Jul 2004 17:14:10 +0400 (MSD)
	(envelope-from bork)
Message-Id: <200407161314.i6GDEAlD072285@rocky.cc.rsu.ru>
Date: Fri, 16 Jul 2004 17:14:10 +0400 (MSD)
From: Konstantin Oznobihin <bork@rsu.ru>
Reply-To: Konstantin Oznobihin <bork@rsu.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] devel/dotconf installs .pc files in $(prefix)/lib
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69146
>Category:       ports
>Synopsis:       [patch] devel/dotconf installs .pc files in $(prefix)/lib
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    clement
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 16 13:20:20 GMT 2004
>Closed-Date:    Fri Jul 16 22:19:18 GMT 2004
>Last-Modified:  Fri Jul 16 22:19:18 GMT 2004
>Originator:     Konstantin Oznobihin
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
Rostov State University
>Environment:
System: FreeBSD .cc.rsu.ru 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Jul 2 20:10:08 MSD 2004 :/usr/obj/usr/src/sys/athlon-xp.HEAD.2004-06-08 i386


	
>Description:
	devel/dotconf installs it's .pc files in $(prefix)/lib, while FreeBSD
	hierarchy rules says that such files should go into libdata. pkgconfig
	was changed to comply with these rules so it can not find .pc files which does
	not reside in libdata.
>How-To-Repeat:
	cd /usr/ports/devel/dotconf
	make install
	pkg-config dotconf
>Fix:
	Added USE_GNOME=gnomehack to devel/dotconf/Makefile and changed
	devel/dotconf/pkg-plist accordingly

--- patch-Makefile begins here ---
--- Makefile.orig	Fri Jul 16 11:47:49 2004
+++ Makefile	Fri Jul 16 11:44:28 2004
@@ -14,6 +14,7 @@
 MAINTAINER=	clement@FreeBSD.org
 COMMENT=	A simple, powerful configuration-file parser
 
+USE_GNOME=	gnomehack
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
--- patch-Makefile ends here ---

--- patch-pkg-plist begins here ---
--- pkg-plist.orig	Fri Jul 16 11:47:57 2004
+++ pkg-plist	Fri Jul 16 11:34:26 2004
@@ -5,7 +5,7 @@
 lib/libdotconf.a
 lib/libdotconf.so
 lib/libdotconf.so.10
-lib/pkgconfig/dotconf.pc
+libdata/pkgconfig/dotconf.pc
 lib/libpool.a
 share/aclocal/dotconf.m4
 %%PORTDOCS%%%%DOCSDIR%%/dotconf-api.txt
--- patch-pkg-plist ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 16 22:05:21 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69146 
State-Changed-From-To: open->closed 
State-Changed-By: clement 
State-Changed-When: Fri Jul 16 22:19:03 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69146 
>Unformatted:
