Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Oct 2002 18:44:38 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43817: [patch] remove warning while upgrading devel/pkgconfig 
Message-ID:  <20021008084438.8546D6A712B@k7.mavetju>

next in thread | raw e-mail | index | archive | help

>Number:         43817
>Category:       ports
>Synopsis:       [patch] remove warning while upgrading devel/pkgconfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 08 01:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021008084438.8546D6A712B>