aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>1999-11-20 16:59:46 +0800
committernakai <nakai@FreeBSD.org>1999-11-20 16:59:46 +0800
commitcf34a00754acd4c7e356310f2acb4c446172462e (patch)
tree2121b8c9e5c975e28a251dcbac0a2960644d5962
parent73029e19785d2f806716764ca285b0b4c5bdf3d1 (diff)
downloadfreebsd-ports-gnome-cf34a00754acd4c7e356310f2acb4c446172462e.tar.gz
freebsd-ports-gnome-cf34a00754acd4c7e356310f2acb4c446172462e.tar.zst
freebsd-ports-gnome-cf34a00754acd4c7e356310f2acb4c446172462e.zip
Fix pkg/PLIST.
Change method to remove */share/locale
-rw-r--r--devel/gettext-devel/pkg-plist3
-rw-r--r--devel/gettext-old/pkg-plist3
-rw-r--r--devel/gettext/pkg-plist3
3 files changed, 6 insertions, 3 deletions
diff --git a/devel/gettext-devel/pkg-plist b/devel/gettext-devel/pkg-plist
index 3d039aff6b66..2fff53268f32 100644
--- a/devel/gettext-devel/pkg-plist
+++ b/devel/gettext-devel/pkg-plist
@@ -60,5 +60,6 @@ share/locale/locale.alias
@dirrm share/gettext/intl
@dirrm share/gettext/po
@dirrm share/gettext
-@dirrm share/locale
+@unexec rmdir %D/share/locale 2>/dev/null || true
@exec mkdir -p %%X11BASE%%/share/locale
+@unexec rmdir %%X11BASE%%/share/locale 2>/dev/null || true
diff --git a/devel/gettext-old/pkg-plist b/devel/gettext-old/pkg-plist
index 3d039aff6b66..2fff53268f32 100644
--- a/devel/gettext-old/pkg-plist
+++ b/devel/gettext-old/pkg-plist
@@ -60,5 +60,6 @@ share/locale/locale.alias
@dirrm share/gettext/intl
@dirrm share/gettext/po
@dirrm share/gettext
-@dirrm share/locale
+@unexec rmdir %D/share/locale 2>/dev/null || true
@exec mkdir -p %%X11BASE%%/share/locale
+@unexec rmdir %%X11BASE%%/share/locale 2>/dev/null || true
diff --git a/devel/gettext/pkg-plist b/devel/gettext/pkg-plist
index 3d039aff6b66..2fff53268f32 100644
--- a/devel/gettext/pkg-plist
+++ b/devel/gettext/pkg-plist
@@ -60,5 +60,6 @@ share/locale/locale.alias
@dirrm share/gettext/intl
@dirrm share/gettext/po
@dirrm share/gettext
-@dirrm share/locale
+@unexec rmdir %D/share/locale 2>/dev/null || true
@exec mkdir -p %%X11BASE%%/share/locale
+@unexec rmdir %%X11BASE%%/share/locale 2>/dev/null || true