[PC-BSD Commits] r14922 - in pbi/modules/emulators/virtualbox-ose: . scripts

svn at pcbsd.org svn at pcbsd.org
Tue Jan 17 12:57:24 PST 2012


Author: kris
Date: 2012-01-17 20:57:24 +0000 (Tue, 17 Jan 2012)
New Revision: 14922

Modified:
   pbi/modules/emulators/virtualbox-ose/pbi.conf
   pbi/modules/emulators/virtualbox-ose/scripts/pre-portmake.sh
Log:

Try to fix building on i386



Modified: pbi/modules/emulators/virtualbox-ose/pbi.conf
===================================================================
--- pbi/modules/emulators/virtualbox-ose/pbi.conf	2012-01-17 18:38:21 UTC (rev 14921)
+++ pbi/modules/emulators/virtualbox-ose/pbi.conf	2012-01-17 20:57:24 UTC (rev 14922)
@@ -31,7 +31,7 @@
 PBI_MKPORTAFTER="devel/qt4"
 
 # Set the build key
-PBI_BUILDKEY="12"
+PBI_BUILDKEY="13"
 
 # This app needs to install as root
 PBI_REQUIRESROOT="YES"

Modified: pbi/modules/emulators/virtualbox-ose/scripts/pre-portmake.sh
===================================================================
--- pbi/modules/emulators/virtualbox-ose/scripts/pre-portmake.sh	2012-01-17 18:38:21 UTC (rev 14921)
+++ pbi/modules/emulators/virtualbox-ose/scripts/pre-portmake.sh	2012-01-17 20:57:24 UTC (rev 14922)
@@ -3,3 +3,12 @@
 # Fix compiling on 9.0-32bit
 cd /usr/lib
 ln -s libc.so libc.so.6
+
+# Set a PATH to fix some build issues on i386
+echo '
+VER="`make -C /usr/ports/emulators/virtualbox-ose -V DISTVERSION`"
+if [ `uname -m` = "i386" ] ; then
+  PATH="/usr/wrkdirprefix/usr/ports/emulators/virtualbox-ose/work/VirtualBox-${VER}_OSE/tools/freebsd.x86/bin:${PATH}"
+  export PATH' >> /pre-build.sh
+fi
+chmod 755 /pre-build.sh



More information about the Commits mailing list