From edwin@mavetju.org  Tue Oct  8 01:46:07 2002
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DED0C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Oct 2002 01:46:07 -0700 (PDT)
Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 65C6143E86
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Oct 2002 01:46:07 -0700 (PDT)
	(envelope-from edwin@mavetju.org)
Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP id 1327C2B8BD
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Oct 2002 10:45:38 +0200 (CEST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 8546D6A712B; Tue,  8 Oct 2002 18:44:38 +1000 (EST)
Message-Id: <20021008084438.8546D6A712B@k7.mavetju>
Date: Tue,  8 Oct 2002 18:44:38 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] remove warning while upgrading devel/pkgconfig 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43817
>Category:       ports
>Synopsis:       [patch] remove warning while upgrading devel/pkgconfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 08 01:50:01 PDT 2002
>Closed-Date:    Mon Oct 21 21:02:33 PDT 2002
>Last-Modified:  Mon Oct 21 21:02:33 PDT 2002
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Sat Sep 14 10:41:50 EST 2002 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386

$FreeBSD: ports/devel/pkgconfig/Makefile,v 1.24 2002/10/05 16:22:21 marcus Exp $

>Description:

While upgrading this port, you get a wanring about libdata/pkgconfig.
This patch will take away the warning-message and replace it with
somehting convinient.

>How-To-Repeat:

cd /usr/ports/devel/pkgconfig; make install; make deinstall

>Fix:

--- pkg-plist.old	Tue Oct  8 18:34:56 2002
+++ pkg-plist	Tue Oct  8 18:40:59 2002
@@ -1,6 +1,9 @@
 @exec mkdir -p %D/libdata/pkgconfig
 bin/pkg-config
 share/aclocal/pkg.m4
-@dirrm libdata/pkgconfig
+@comment The files in these directories should only be removed if you
+@comment remove the complete GNOME installation. If this is only an
+@comment upgrade, don't throw them out!
+@unexec echo "If you're only upgrading, don't remove %%LOCALBASE%%/libdata/pkgconfig nor %%X11BASE%%/libdata/pkgconfig"
 @unexec rmdir %%LOCALBASE%%/libdata/pkgconfig 2>/dev/null || true
 @unexec rmdir %%X11BASE%%/libdata/pkgconfig 2>/dev/null || true

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: pat 
Responsible-Changed-When: Tue Oct 8 13:22:32 PDT 2002 
Responsible-Changed-Why:  
Over to maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43817 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Mon Oct 21 21:02:15 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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