aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-22 18:37:32 +0800
committersobomax <sobomax@FreeBSD.org>2001-05-22 18:37:32 +0800
commit3a48f17a10063756c8b0b192ff1839a948eb4049 (patch)
tree05565159d8c07aca4fe2472856f9503ebf6a85e4
parentec81f697b641342d759de3dc4f0823a636ebd357 (diff)
downloadfreebsd-ports-gnome-3a48f17a10063756c8b0b192ff1839a948eb4049.tar.gz
freebsd-ports-gnome-3a48f17a10063756c8b0b192ff1839a948eb4049.tar.zst
freebsd-ports-gnome-3a48f17a10063756c8b0b192ff1839a948eb4049.zip
Correct empty directories pruning code.
-rw-r--r--www/mozilla-devel/Makefile4
-rw-r--r--www/mozilla-vendor/Makefile4
-rw-r--r--www/mozilla/Makefile4
-rw-r--r--www/seamonkey/Makefile4
-rw-r--r--www/seamonkey2/Makefile4
5 files changed, 5 insertions, 15 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 142c2f384861..ed7681c24c1e 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -67,9 +67,7 @@ post-build:
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
- # Prune empty chrome dirs, so we don't have to pollute PLIST with
- # zillion "@exec mkdir" and "@dirrm"
- @/usr/bin/find ${WRKSRC}/dist/bin -type d | \
+ @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
do-install:
diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile
index 142c2f384861..ed7681c24c1e 100644
--- a/www/mozilla-vendor/Makefile
+++ b/www/mozilla-vendor/Makefile
@@ -67,9 +67,7 @@ post-build:
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
- # Prune empty chrome dirs, so we don't have to pollute PLIST with
- # zillion "@exec mkdir" and "@dirrm"
- @/usr/bin/find ${WRKSRC}/dist/bin -type d | \
+ @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
do-install:
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 142c2f384861..ed7681c24c1e 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -67,9 +67,7 @@ post-build:
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
- # Prune empty chrome dirs, so we don't have to pollute PLIST with
- # zillion "@exec mkdir" and "@dirrm"
- @/usr/bin/find ${WRKSRC}/dist/bin -type d | \
+ @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
do-install:
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 142c2f384861..ed7681c24c1e 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -67,9 +67,7 @@ post-build:
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
- # Prune empty chrome dirs, so we don't have to pollute PLIST with
- # zillion "@exec mkdir" and "@dirrm"
- @/usr/bin/find ${WRKSRC}/dist/bin -type d | \
+ @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
do-install:
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 142c2f384861..ed7681c24c1e 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/Makefile
@@ -67,9 +67,7 @@ post-build:
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
- # Prune empty chrome dirs, so we don't have to pollute PLIST with
- # zillion "@exec mkdir" and "@dirrm"
- @/usr/bin/find ${WRKSRC}/dist/bin -type d | \
+ @/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
do-install: