]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - VirtualBox-configure.patch
- 3.2.6 merged from DEVEL
[packages/VirtualBox.git] / VirtualBox-configure.patch
index 139c4991471d11326c5bbea943bd9c83046e6519..123ea1db58ceeef52efb197db9f645d70d77196a 100644 (file)
@@ -1,90 +1,43 @@
---- configure.orig     2007-08-23 21:34:25.000000000 +0200
-+++ configure  2007-08-23 21:39:54.000000000 +0200
-@@ -57,7 +57,6 @@
- LIBZ="-lz"
- INCPNG=""
- LIBPNG="-lpng"
--QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3 /usr/X11R6"
- KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
- DEVDIR="`cd $(dirname $0); pwd`/tools"
- if [ -d "/lib/modules/`uname -r`/build" ]; then
-@@ -167,8 +166,8 @@
+--- VirtualBox-2.2.0_OSE/configure.orig        2009-04-12 13:55:00.000000000 +0200
++++ VirtualBox-2.2.0_OSE/configure     2009-04-12 14:03:10.000000000 +0200
+@@ -227,8 +225,8 @@
    echo "compiling the following source file:" >> $LOG
-   cat .tmp_src.cc >> $LOG
+   cat $ODIR.tmp_src.cc >> $LOG
    echo "using the following command line:" >> $LOG
--  echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc \"$1\"" >> $LOG
--  $CXX -O -Wall -o .tmp_out .tmp_src.cc $1 >> $LOG 2>&1
-+  echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib \"$1\"" >> $LOG
-+  $CXX -O -Wall -o .tmp_out .tmp_src.cc -L/usr/X11R6/lib $1 >> $LOG 2>&1
+-  echo "$CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc \"$1\"" >> $LOG
+-  $CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc $1 >> $LOG 2>&1
++  echo "$CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -L/usr/X11R6/lib \"$1\"" >> $LOG
++  $CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -L/usr/X11R6/lib $1 >> $LOG 2>&1
    if [ $? -ne 0 ]; then
      if [ -z "$4" ]; then
        echo
-@@ -873,38 +872,27 @@
- }
+@@ -1996,7 +1996,6 @@
+   --with-mkisofs=PATH      location of mkisofs [$MKISOFS]
  EOF
-   found_qt=0
--  libs="lib"
--  [ "$LIB" = "lib64" ] && libs="$libs lib64"
--  for q in $QTDIR; do
--    for l in $libs; do
--      echo "compiling the following source file:" >> $LOG
--      cat .tmp_src.cc >> $LOG
--      echo "using the following command line:" >> $LOG
--      echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt" >> $LOG
-+  echo "compiling the following source file:" >> $LOG
-+  cat .tmp_src.cc >> $LOG
-+  echo "using the following command line:" >> $LOG
-+  echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt" >> $LOG
-     
--      $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$l -lqt-mt >> $LOG 2>&1
--      if [ $? -eq 0 ]; then
--        if test_execute; then
--          cnf_append "QTDIR" "`cd $q ; pwd`"
--          found_qt=1
--          break
--        fi
--      fi
--    done
--    if [ $found_qt -eq 1 ]; then
--      break
-+  $CXX -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/qt -L/usr/lib -lqt-mt >> $LOG 2>&1
-+  if [ $? -eq 0 ]; then
-+    if test_execute; then
-+      found_qt=1
-     fi
--  done
-+  fi
-   if [ $found_qt -ne 1 ]; then
-     echo
--    echo "  Qt not found at \"$QTDIR\" or Qt headers not found"
-+    echo "  Qt not found or Qt headers not found"
-     echo "  Check the file $LOG for detailed error information."
-     fail
-     return 1
-   fi
-   test_header "Qt devtools"
--  if check_avail "$q/bin/moc" QTDIR/bin; then
--    moc_ver=`$q/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
-+  if check_avail "/usr/bin/moc"; then
-+    moc_ver=`/usr/bin/moc 2>&1 -v|sed 's+^.*(Qt \(.*\))+\1+'`
-     if [ $? -ne 0 ]; then
-       log_failure "not found"
-       fail
-@@ -1081,7 +1069,6 @@
-   --with-hal=LIB          location of the libhal libraries [$LIBHAL]
-   --with-linux=DIR        Linux kernel source directory [$LINUX]
-   --with-mkisofs=PATH     location of mkisofs [$MKISOFS]
--  --with-qt-dir=DIR       directory for QT headers/libraries [$QTDIR]
-   --with-xalan=LIB        location of the xalan library [$LIBXALAN]
-   --with-xerces=LIB       location of the xerces library [$LIBXERCES]
-@@ -1118,9 +1105,6 @@
+ [ "$OS"    = "linux" ] && echo "  --with-linux=DIR         Linux kernel source directory [$LINUX]"
+-[ $WITH_QT4    -eq 1 ] && echo "  --with-qt-dir=DIR        directory for Qt4 headers/libraries [pkgconfig]"
+ [ $WITH_GSOAP  -eq 1 ] && echo "  --with-gsoap-dir=PATH    directory for gSOAP compiler/headers/libraries"
+ [ $WITH_GSOAP  -eq 1 ] && echo "                           (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)"
+ [ $WITH_GSOAP  -eq 1 ] && echo "  --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)"
+@@ -1881,10 +1878,6 @@
          exit 1
        fi
        ;;
--    --with-qt-dir=*)
--      QTDIR=`echo $option | cut -d'=' -f2`
+-    --with-qt-dir=*|--with-qt4-dir=*)
+-      QT4DIR=`echo $option | cut -d'=' -f2`
+-      QT4DIR_PKGCONFIG=0
 -      ;;
-     --with-iasl=*)
-       IASL=`echo $option | cut -d'=' -f2`
-       ;;
+     --with-openssl-dir=*)
+       OPENSSLDIR=`echo $option | cut -d'=' -f2`
+       INCCRYPTO="-I${OPENSSLDIR}/include"
+--- VirtualBox-3.1.8_OSE/configure~    2010-07-08 19:00:15.575150896 +0200
++++ VirtualBox-3.1.8_OSE/configure     2010-07-08 19:02:26.226178887 +0200
+@@ -1762,7 +1762,7 @@
+   found=
+ # For Solaris we use libpython2.4 for compatibility with Solaris 10 and passing IPS pkg audit
+   if [ "$OS" != "solaris" ]; then
+-    SUPPYTHONLIBS="python2.6 python2.5 python2.4 python2.3"
++    SUPPYTHONLIBS="python2.7 python2.6 python2.5 python2.4 python2.3"
+   else
+     SUPPYTHONLIBS="python2.4"
+   fi
This page took 0.052533 seconds and 4 git commands to generate.