summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-configure
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-09-07 21:35:38 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-09-07 21:35:38 +0000
commite60871787d8c1ed56cb03f32b3c1be1fb331f9f3 (patch)
treec0da17343b04930a102a6f17d9a54f98ac41e54e /emulators/virtualbox-ose/files/patch-configure
parentUpdate to 1.9.0 (diff)
Update to 5.1.4.
Notes
Notes: svn path=/head/; revision=421521
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-configure')
-rw-r--r--emulators/virtualbox-ose/files/patch-configure32
1 files changed, 21 insertions, 11 deletions
diff --git a/emulators/virtualbox-ose/files/patch-configure b/emulators/virtualbox-ose/files/patch-configure
index c9bbeb0b39f7..bfdf2a2ae812 100644
--- a/emulators/virtualbox-ose/files/patch-configure
+++ b/emulators/virtualbox-ose/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2016-07-18 11:50:32 UTC
+--- configure.orig 2016-08-16 19:55:20 UTC
+++ configure
-@@ -137,10 +137,14 @@ CXX_FLAGS=""
+@@ -140,10 +140,14 @@ CXX_FLAGS=""
if [ "$OS" = "freebsd" ]; then
INCCURL="-I/usr/local/include"
LIBCURL="-L/usr/local/lib -lcurl"
@@ -15,7 +15,17 @@
else
INCCURL=""
LIBCURL="-lcurl"
-@@ -1213,7 +1217,7 @@ extern "C" int main(void)
+@@ -441,6 +445,9 @@ check_gcc()
+ elif [ $cc_maj -eq 4 -a $cc_min -eq 0 -a "$OS" = "darwin" ]; then
+ log_success "found version $cc_ver"
+ # gcc-4.0 is allowed for Darwin only
++ elif [ $cc_maj -eq 4 -a $cc_min -eq 2 -a "$OS" = "freebsd" ]; then
++ log_success "found version $cc_ver"
++ # gcc-4.2 is allowed for FreeBSD only
+ elif [ $cc_maj -lt 4 \
+ -o \( $cc_maj -eq 4 -a $cc_min -lt 4 -a "$OS" != "darwin" \) \
+ -o \( $cc_maj -eq 4 -a $cc_min -lt 2 -a "$OS" = "darwin" \) \
+@@ -1224,7 +1231,7 @@ extern "C" int main(void)
#endif
}
EOF
@@ -24,7 +34,7 @@
test_execute
fi
}
-@@ -1945,8 +1949,8 @@ EOF
+@@ -2126,8 +2133,8 @@ EOF
echo "compiling the following source file:" >> $LOG
cat $ODIR.tmp_src.cc >> $LOG
echo "using the following command line:" >> $LOG
@@ -35,7 +45,7 @@
if [ $? -eq 0 ]; then
found=1
break
-@@ -2415,7 +2419,7 @@ for option in "$@"; do
+@@ -2603,7 +2610,7 @@ for option in "$@"; do
--with-openssl-dir=*)
OPENSSLDIR=`echo $option | cut -d'=' -f2`
INCCRYPTO="-I${OPENSSLDIR}/include"
@@ -44,24 +54,24 @@
;;
--with-ow-dir=*)
WATCOM=`echo $option | cut -d'=' -f2`
-@@ -2744,8 +2748,15 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
+@@ -2942,8 +2949,15 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
[ $WITH_PYTHON -eq 1 ] && check_python
[ $WITH_JAVA -eq 1 ] && check_java
- # PulseAudio
- if [ "$OS" = "linux" -o "$OS" = "freebsd" ]; then
-+ if [ $WITH_DBUS -eq 0 ]; then
-+ cnf_append "VBOX_WITH_DBUS" ""
-+ fi
+ if [ "$OS" = "linux" -o "$OS" = "freebsd" -o "$OS" = "netbsd" ]; then
+ if [ $WITH_ALSA -eq 1 ]; then
+ check_alsa
+ else
+ cnf_append "VBOX_WITH_ALSA" ""
+ fi
++ if [ $WITH_DBUS -eq 0 ]; then
++ cnf_append "VBOX_WITH_DBUS" ""
++ fi
if [ $WITH_PULSE -eq 1 ]; then
check_pulse
elif [ $WITH_PULSE -eq 0 ]; then
-@@ -2767,14 +2778,6 @@ if [ "$OS" = "linux" ]; then
+@@ -2965,14 +2979,6 @@ if [ "$OS" = "linux" ]; then
cnf_append "VBOX_WITH_ADDITION_DRIVERS" ""
fi
if [ $ONLY_ADDITIONS -eq 0 ]; then