CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
getBuildOrder.sh: fixed for 2.7 branches
authorJose V Beneyto <sepen@crux.nu>
Thu, 28 Apr 2011 17:41:29 +0000 (19:41 +0200)
committerJose V Beneyto <sepen@crux.nu>
Thu, 28 Apr 2011 17:41:29 +0000 (19:41 +0200)
getBuildOrder.sh

index cca2c9e97ac19c9aab81d7d73507ec8bc669e470..86af3fdbdd811d51a7de9de1550c593a1c9e3254 100755 (executable)
@@ -11,7 +11,7 @@ getRecursiveDeps() {
   local deps="$(getDeps $pkg)"
   if [ -z "$deps" ]; then
     case $pkg in
-      libgmp|libmpfr|binutils|glibc|gcc)
+      libgmp|libmpfr|libmpc|binutils|glibc|zlib|gcc)
         # discard these ports
         ;;
       *)
@@ -29,12 +29,12 @@ getRecursiveDeps() {
 }
 
 # global var to store all final deps order
-BUILD_ORDER="libgmp libmpfr binutils glibc gcc"
+BUILD_ORDER="libgmp libmpfr libmpc binutils glibc zlib gcc"
 
 for f in *; do
   [ ! -d "$f" ] && continue
   case $f in
-    libgmp|libmpfr|binutils|glibc|gcc) continue ;;
+    libgmp|libmpfr|libmpc|binutils|glibc|zlib|gcc) continue ;;
   esac
   getRecursiveDeps "$f"
 done