[PC-BSD Commits] r18462 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Thu Aug 16 09:00:39 PDT 2012


Author: kris
Date: 2012-08-16 16:00:38 +0000 (Thu, 16 Aug 2012)
New Revision: 18462

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Re-enable rebuilding ports which have downstream depends that have been
updated. Looks like we can't count on PORTREV being bumped when necessary.

(I'm looking at you PERL)



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-16 15:01:21 UTC (rev 18461)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-16 16:00:38 UTC (rev 18462)
@@ -6834,18 +6834,18 @@
   # Not installed, see if we have a pkg to install instead
   if [ -e "/pkgs/${pkgName}.txz" ] ; then
      REBUILDPKG="NO"
-     #echo "Checking package: ${pkgName}"
-     #pkg_info -r /pkgs/${pkgName}.txz | grep "Dependency:" | cut -d ' ' -f 2 > /tmp/deps.$$
-     #while read dLine
-     #do
-     #	pkg_info $dLine >/dev/null 2>/dev/null
-     #   if [ $? -ne 0 ] ; then
-     #	   echo "Package dependencies updated! Rebuilding port..."
-     #     REBUILDPKG="YES"
-     #	   break
-     #  fi
-     #done < /tmp/deps.$$
-     #rm /tmp/deps.$$
+     echo "Checking package: ${pkgName}"
+     pkg_info -r /pkgs/${pkgName}.txz | grep "Dependency:" | cut -d ' ' -f 2 > /tmp/deps.$$
+     while read dLine
+     do
+     	pkg_info $dLine >/dev/null 2>/dev/null
+        if [ $? -ne 0 ] ; then
+           echo "Package dependencies updated! Rebuilding port..."
+           REBUILDPKG="YES"
+     	   break
+        fi
+     done < /tmp/deps.$$
+     rm /tmp/deps.$$
 
      # Fix some pkgs bugging us with license questions
      PACKAGE_BUILDING=yes



More information about the Commits mailing list