aboutsummaryrefslogtreecommitdiffstats
path: root/net/iwi-firmware
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-12-19 01:09:11 +0800
committerflz <flz@FreeBSD.org>2005-12-19 01:09:11 +0800
commitfa575c78bb7bb78639f56e97230d25e4da211650 (patch)
tree21b2e570e2462012772442b338aba78f6c889015 /net/iwi-firmware
parent07f5047388d237522eba1ef73e7854e0726bbf76 (diff)
downloadfreebsd-ports-gnome-fa575c78bb7bb78639f56e97230d25e4da211650.tar.gz
freebsd-ports-gnome-fa575c78bb7bb78639f56e97230d25e4da211650.tar.zst
freebsd-ports-gnome-fa575c78bb7bb78639f56e97230d25e4da211650.zip
- Finally fix the mtree problem both in HEAD and in stable branches.
Reported by: kris
Diffstat (limited to 'net/iwi-firmware')
-rw-r--r--net/iwi-firmware/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/iwi-firmware/pkg-plist b/net/iwi-firmware/pkg-plist
index 88df01e2791b..5ab2c606c2fb 100644
--- a/net/iwi-firmware/pkg-plist
+++ b/net/iwi-firmware/pkg-plist
@@ -1,6 +1,6 @@
@cwd /
%%WITH_CONTROL%%usr/sbin/%%DRIVERNAME%%control
-@exec mkdir -p %%FWDIR%%
+%%MTREE_DIRRM%%@exec mkdir -p %%FWDIR%%
@cwd %%FWDIR%%
LICENSE.%%DRIVERNAME%%
%%DRIVERNAME%%-boot.fw
@@ -10,5 +10,6 @@ LICENSE.%%DRIVERNAME%%
%%DRIVERNAME%%-ucode-ibss.fw
%%DRIVERNAME%%-sniffer.fw
%%DRIVERNAME%%-ucode-sniffer.fw
+%%MTREE_DIRRM%%@unexec rmdir %%FWDIR%% 2>/dev/null || true
%%WITH_MODULE%%@cwd /
%%WITH_MODULE%%%%KMODDIR%%/if_%%DRIVERNAME%%.ko