[PC-BSD Commits] r12681 - in pbi/modules/emulators/virtualbox-ose: . resources/bin

svn at pcbsd.org svn at pcbsd.org
Wed Sep 7 08:10:47 PDT 2011


Author: kris
Date: 2011-09-07 08:10:47 -0700 (Wed, 07 Sep 2011)
New Revision: 12681

Modified:
   pbi/modules/emulators/virtualbox-ose/pbi.conf
   pbi/modules/emulators/virtualbox-ose/resources/bin/VirtualBox-wrapper
Log:

Fix VB for 32bit



Modified: pbi/modules/emulators/virtualbox-ose/pbi.conf
===================================================================
--- pbi/modules/emulators/virtualbox-ose/pbi.conf	2011-09-07 15:10:38 UTC (rev 12680)
+++ pbi/modules/emulators/virtualbox-ose/pbi.conf	2011-09-07 15:10:47 UTC (rev 12681)
@@ -31,7 +31,7 @@
 PBI_MKPORTAFTER="devel/qt4"
 
 # Set the build key
-PBI_BUILDKEY="03"
+PBI_BUILDKEY="04"
 
 # This app needs to install as root
 PBI_REQUIRESROOT="YES"

Modified: pbi/modules/emulators/virtualbox-ose/resources/bin/VirtualBox-wrapper
===================================================================
--- pbi/modules/emulators/virtualbox-ose/resources/bin/VirtualBox-wrapper	2011-09-07 15:10:38 UTC (rev 12680)
+++ pbi/modules/emulators/virtualbox-ose/resources/bin/VirtualBox-wrapper	2011-09-07 15:10:47 UTC (rev 12681)
@@ -1,6 +1,10 @@
 #!/bin/sh
 
-PROGDIR=/usr/pbi/virtualbox-amd64
+if [ `uname -m` = "amd64" ] ; then
+  PROGDIR=/usr/pbi/virtualbox-amd64
+else
+  PROGDIR=/usr/pbi/virtualbox-i386
+fi
 
 VBOX_USER_HOME="`cat /etc/passwd | grep ^${USER}: | cut -d ":" -f 6`"
 HOME="$VBOX_USER_HOME"



More information about the Commits mailing list