From a4b1f4219b2a5109cf52ae01e35af61bad11b1d4 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 27 Mar 2006 05:02:19 +0000 Subject: [PATCH] Try to remove empty "rw" locale directories when uninstalling. --- devel/avr-gcc-devel/Makefile | 2 +- devel/avr-gcc-devel/pkg-plist | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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