aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-03-22 10:10:27 +0800
committerobrien <obrien@FreeBSD.org>2004-03-22 10:10:27 +0800
commit32b215d0f0986d29c0262b5e74bd9da54dbf5fea (patch)
tree8549187a7f933540b021f3283fd5409a4676598a /lang/gcc40
parentc76fd66fdcec9c7905b0e737121804c65c48eeb8 (diff)
downloadfreebsd-ports-gnome-32b215d0f0986d29c0262b5e74bd9da54dbf5fea.tar.gz
freebsd-ports-gnome-32b215d0f0986d29c0262b5e74bd9da54dbf5fea.tar.zst
freebsd-ports-gnome-32b215d0f0986d29c0262b5e74bd9da54dbf5fea.zip
Use a different method to remove possibly shared directory, so we can
fail silently. Submitted by: kris
Diffstat (limited to 'lang/gcc40')
-rw-r--r--lang/gcc40/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc40/pkg-plist b/lang/gcc40/pkg-plist
index fd95c394cbf2..1562c57cae29 100644
--- a/lang/gcc40/pkg-plist
+++ b/lang/gcc40/pkg-plist
@@ -50,8 +50,8 @@ libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixincl
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/mkheaders
@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools
@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%
-@dirrm libexec/gcc/%%GNU_HOST%%
-@dirrm libexec/gcc
+@unexec rmdir %D/libexec/gcc/%%GNU_HOST%% 2>/dev/null || true
+@unexec rmdir %D/libexec/gcc 2>/dev/null || true
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-