aboutsummaryrefslogtreecommitdiff
path: root/devel/pkg-config
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 04:01:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 04:01:38 +0000
commitdbafa98881a8010e285eefe5876abf21d5b014a6 (patch)
tree8960986df5f9f2ea9a16a66f363d857653f95120 /devel/pkg-config
parent2612dba956c5d5bd4138fc1bae105c11a3461ff6 (diff)
downloadports-dbafa98881a8010e285eefe5876abf21d5b014a6.tar.gz
ports-dbafa98881a8010e285eefe5876abf21d5b014a6.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>
Notes
Notes: svn path=/head/; revision=68567
Diffstat (limited to 'devel/pkg-config')
-rw-r--r--devel/pkg-config/pkg-plist5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/pkg-config/pkg-plist b/devel/pkg-config/pkg-plist
index 95e761321f78..27536941ef35 100644
--- a/devel/pkg-config/pkg-plist
+++ b/devel/pkg-config/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