]> git.pld-linux.org Git - packages/VirtualBox.git/blame - VirtualBox-configure.patch
- more lang
[packages/VirtualBox.git] / VirtualBox-configure.patch
CommitLineData
8c87197a 1--- VirtualBox-2.2.0_OSE/configure.orig 2009-04-12 13:55:00.000000000 +0200
2+++ VirtualBox-2.2.0_OSE/configure 2009-04-12 14:03:10.000000000 +0200
3@@ -100,9 +100,7 @@
77342933 4 LIBPNG="-lpng"
506ebac4 5 PKGCONFIG="`which_wrapper pkg-config`"
41ff14a6 6 PYTHONDIR="/usr /usr/local"
41ff14a6 7-QT4DIR="/usr/lib/qt4 /usr/share/qt4 /usr/lib64/qt4 /usr"
8 QT4DIR_PKGCONFIG=1
6cd758ac 9-QT4UIC3DIR="/usr/bin"
fdb44af0 10 KBUILDDIR="`cd \`dirname $0\`; pwd`/kBuild"
11 DEVDIR="`cd \`dirname $0\`; pwd`/tools"
77342933 12 if [ -d "/lib/modules/`uname -r`/build" ]; then
8c87197a 13@@ -227,8 +225,8 @@
3d906a63 14 echo "compiling the following source file:" >> $LOG
8c87197a 15 cat $ODIR.tmp_src.cc >> $LOG
3d906a63 16 echo "using the following command line:" >> $LOG
8c87197a 17- echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc \"$1\"" >> $LOG
18- $CXX -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc $1 >> $LOG 2>&1
19+ echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -L/usr/X11R6/lib \"$1\"" >> $LOG
20+ $CXX -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -L/usr/X11R6/lib $1 >> $LOG 2>&1
77342933 21 if [ $? -ne 0 ]; then
3d906a63 22 if [ -z "$4" ]; then
77342933 23 echo
8c87197a 24@@ -1385,7 +1383,7 @@
41ff14a6 25 cnf_append "VBOX_WITH_QT4_SUN" "1"
26 fi
6cd758ac 27 test_header "Qt4 devtools"
28- for q in $QT4DIR; do
04ff5912 29+ for q in /usr/lib/qt4 /usr/lib64/qt4; do
30 if which_wrapper "$q/bin/moc" > /dev/null; then
31 moc_ver=`$q/bin/moc -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
32 if [ $? -ne 0 ]; then
8c87197a 33@@ -1836,7 +1834,6 @@
fdb44af0 34 --with-iasl=PATH location of the iasl compiler [$IASL]
35 --with-linux=DIR Linux kernel source directory [$LINUX]
36 --with-mkisofs=PATH location of mkisofs [$MKISOFS]
8c87197a 37- --with-qt-dir=DIR directory for Qt4 headers/libraries [pkgconfig]
38 --with-gsoap-dir=PATH directory for gSOAP compiler/headers/libraries
39 (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)
40 --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)
41@@ -1881,10 +1878,6 @@
210193ea 42 exit 1
43 fi
3d906a63 44 ;;
8c87197a 45- --with-qt-dir=*|--with-qt4-dir=*)
6cd758ac 46- QT4DIR=`echo $option | cut -d'=' -f2`
41ff14a6 47- QT4DIR_PKGCONFIG=0
3d906a63 48- ;;
506ebac4 49 --with-gsoap-dir=*)
50 GSOAP=`echo $option | cut -d'=' -f2`
3d906a63 51 ;;
This page took 0.066445 seconds and 4 git commands to generate.