aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pkgconfig
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-22 12:01:38 +0800
committermarcus <marcus@FreeBSD.org>2002-10-22 12:01:38 +0800
commit9a2b111cc12af81401efa2c0c9acb343cf37c451 (patch)
tree77a0b97f5f2a6a75cf51bce5d5faeaa33aba0ea6 /devel/pkgconfig
parentc4fb825e4bb34224206f3ef4d7d5ba1d79d5914a (diff)
downloadfreebsd-ports-gnome-9a2b111cc12af81401efa2c0c9acb343cf37c451.tar.gz
freebsd-ports-gnome-9a2b111cc12af81401efa2c0c9acb343cf37c451.tar.zst
freebsd-ports-gnome-9a2b111cc12af81401efa2c0c9acb343cf37c451.zip
Remove warning when upgrading pkgconfig. Also, make it clear to users that
the pkgconfig directories should not be removed unless you're removing _all_ GNOME components. PR: 43817 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'devel/pkgconfig')
-rw-r--r--devel/pkgconfig/pkg-plist5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/pkgconfig/pkg-plist b/devel/pkgconfig/pkg-plist
index 95e761321f78..27536941ef35 100644
--- a/devel/pkgconfig/pkg-plist
+++ b/devel/pkgconfig/pkg-plist
@@ -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