aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2006-03-27 13:02:19 +0800
committerjoerg <joerg@FreeBSD.org>2006-03-27 13:02:19 +0800
commit3679c31625362f671fb463d1e109650b67766e12 (patch)
treeb4908a4adfa94b0e7fc19ea28a20853e04ac978c /devel
parent6d08b1711be3fb286159a9a8676417208f88460d (diff)
downloadfreebsd-ports-gnome-3679c31625362f671fb463d1e109650b67766e12.tar.gz
freebsd-ports-gnome-3679c31625362f671fb463d1e109650b67766e12.tar.zst
freebsd-ports-gnome-3679c31625362f671fb463d1e109650b67766e12.zip
Try to remove empty "rw" locale directories when uninstalling.
Diffstat (limited to 'devel')
-rw-r--r--devel/avr-gcc-devel/Makefile2
-rw-r--r--devel/avr-gcc-devel/pkg-plist2
2 files changed, 3 insertions, 1 deletions
diff --git a/devel/avr-gcc-devel/Makefile b/devel/avr-gcc-devel/Makefile
index b1b788b941c9..545ccebbe7d0 100644
--- a/devel/avr-gcc-devel/Makefile
+++ b/devel/avr-gcc-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
diff --git a/devel/avr-gcc-devel/pkg-plist b/devel/avr-gcc-devel/pkg-plist
index abf6c2717cad..591a96fe06a3 100644
--- a/devel/avr-gcc-devel/pkg-plist
+++ b/devel/avr-gcc-devel/pkg-plist
@@ -73,6 +73,8 @@ share/locale/tr/LC_MESSAGES/gcc.mo
share/locale/vi/LC_MESSAGES/cpplib.mo
share/locale/zh_CN/LC_MESSAGES/cpplib.mo
share/locale/zh_CN/LC_MESSAGES/gcc.mo
+@unexec /bin/rmdir %D/share/locale/rw/LC_MESSAGES 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/rw 2>/dev/null || /usr/bin/true
@dirrm lib/gcc/avr/4.1.0/avr3
@dirrm lib/gcc/avr/4.1.0/avr4
@dirrm lib/gcc/avr/4.1.0/avr5