aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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