Changeset 99021
- Timestamp:
- Oct 24, 2012, 5:47:50 AM (12 years ago)
- Location:
- trunk/dports/emulators/virtualbox
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/emulators/virtualbox/Portfile
r98027 r99021 5 5 6 6 name virtualbox 7 version 4.2. 07 version 4.2.2 8 8 # Note: On virtualbox version changes please update the checksums of all 9 9 # subports, and update extension_pack_build to match the current build 10 10 # of the extension pack. 11 set extension_pack_build 8 073711 set extension_pack_build 81494 12 12 13 13 categories emulators … … 48 48 use_bzip2 yes 49 49 50 checksums rmd160 9ed426203e6e01a27ce791ec83a89d1133d20f88\51 sha256 895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e650 checksums rmd160 628e3d86d5467fd42429d4893d30ab8a53e9ef13 \ 51 sha256 943daa13694605d5d0a23ffef27c398b5e72ada669de89bad4b98f000f029700 52 52 53 53 depends_lib-append port:curl \ … … 59 59 60 60 patchfiles patch-build.diff \ 61 patch-startup.diff 61 patch-startup.diff \ 62 patch-translations.diff 62 63 63 64 configure.compiler gcc-4.2 … … 88 89 set kext_dir /Library/Extensions 89 90 set startup_items_dir /Library/StartupItems 91 90 92 post-patch { 91 93 if {[vercmp $xcodeversion "4.4"] >= 0} { … … 109 111 } 110 112 113 pre-build { 114 # While sandboxing is nice and all, the build behavior of VirtualBox is too unorthodox. 115 set portsandbox_profile "" 116 } 117 111 118 destroot { 112 119 … … 207 214 distfiles VBoxGuestAdditions_${version}.iso 208 215 209 checksums rmd160 8bd5fd7f0c96f62fd9a5a328aa285f9bdf89e937\210 sha256 ef274ecdcb48adec469656959e51c8468b6d3a7733ddf93f9a3713f77f1604f3216 checksums rmd160 d4d3fff56a6f356a96ee80c24adf37256355cb3b \ 217 sha256 26f5390b36a3bb9855846d194dcd287b8e53613b599c6ffd7aff1b451cc7f1f1 211 218 212 219 depends_run port:virtualbox … … 264 271 distname ${name_extpack}-${version} 265 272 266 checksums rmd160 52629c70a7dff3c0d760eee167fe999aea9d049c\267 sha256 18055795fa95d3a49ac00fd7e5009113d871a0c87a5e0f864f88c4eeb3222218273 checksums rmd160 00c31eb90e945d46f2489804f0e853c1fe700485 \ 274 sha256 2a0824a7f6b93842feb13fe15de16a1bb33c9221116d62ce759eed6878169c2b 268 275 269 276 worksrcdir ${name_extpack} -
trunk/dports/emulators/virtualbox/files/patch-apple-gcc42.diff
r97829 r99021 1 1 --- Config.kmk.orig 2012-08-19 17:42:19.000000000 -0500 2 2 +++ Config.kmk 2012-08-19 17:42:19.000000000 -0500 3 @@ -1 913,10 +1913,8 @@3 @@ -1897,10 +1897,8 @@ 4 4 $(error VBox: 64-bit darwin builds require Xcode 3.2 or later, you have $(VBOX_XCODE_VERSION)) 5 5 endif -
trunk/dports/emulators/virtualbox/files/patch-build.diff
r98020 r99021 1 1 --- Config.kmk.orig 2012-06-20 08:07:42.000000000 -0500 2 2 +++ Config.kmk 2012-08-19 05:22:48.000000000 -0500 3 @@ -113 0,7 +1130,7 @@3 @@ -1132,7 +1132,7 @@ 4 4 # of VirtualBox binaries. We request though that you always use something that 5 5 # clearly identifies your build and makes it clear that it is not one done by … … 10 10 11 11 # Keep in sync with G_virtualBoxPackage in glue-jaxws.xsl and glue-java.xsl 12 @@ -18 74,7 +1874,11 @@12 @@ -1858,7 +1858,11 @@ 13 13 endif 14 14 VBOX_PATH_MACOSX_SDK ?= $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN)u.sdk … … 23 23 24 24 ## The Xcode version. 25 @@ -19 68,6 +1972,13 @@25 @@ -1952,6 +1956,13 @@ 26 26 endif 27 27 … … 37 37 VBOX_DARWIN_DEF_SDK_10_6_DEFS := MAC_OS_X_VERSION_MIN_REQUIRED=1060 MAC_OS_X_VERSION_MAX_ALLOWED=1060 38 38 VBOX_DARWIN_DEF_SDK_10_6_CFLAGS := -mmacosx-version-min=10.6 -isysroot $(VBOX_PATH_MACOSX_SDK_10_6) 39 @@ -19 86,7 +1997,7 @@39 @@ -1970,7 +1981,7 @@ 40 40 ifneq ($(wildcard $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX10.7.sdk),) 41 41 VBOX_PATH_MACOSX_SDK_10_7 = $(VBOX_PATH_MACOSX_SDK_ROOT)/MacOSX10.7.sdk … … 46 46 endif 47 47 VBOX_DARWIN_DEF_SDK_10_7_DEFS := MAC_OS_X_VERSION_MIN_REQUIRED=1070 MAC_OS_X_VERSION_MAX_ALLOWED=1070 48 @@ -21 66,22 +2177,22 @@48 @@ -2150,22 +2161,22 @@ 49 49 VBOX_GCC32_CHECK_CXX = $(2) 50 50 else … … 73 73 else echo "$(2)"; fi; ) 74 74 endif 75 @@ -42 14,25 +4225,6 @@75 @@ -4202,25 +4213,6 @@ 76 76 # be cleaned up properly later some time (not important now). 77 77 # … … 105 105 +VBOX_DARWIN_NO_COMPACT_LINKEDIT = 106 106 +VBOX_MACOS_10_5_WORKAROUND = 107 +VBOX_PATH_APP_DOCS ="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS"108 +VBOX_PATH_APP_PRIVATE ="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS"109 +VBOX_PATH_APP_PRIVATE_ARCH ="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS"110 +VBOX_PATH_SHARED_LIBS ="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS"107 +VBOX_PATH_APP_DOCS = "@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS" 108 +VBOX_PATH_APP_PRIVATE = "@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS" 109 +VBOX_PATH_APP_PRIVATE_ARCH = "@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS" 110 +VBOX_PATH_SHARED_LIBS = "@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS" 111 111 +VBOX_WITH_MULTIVERSION_PYTHON = 1 112 +VBOX_WITH_TESTSUITE =113 +VBOX_WITH_TESTCASES =114 +kBuildGlobalDefaults_LD_DEBUG =112 +VBOX_WITH_TESTSUITE = 113 +VBOX_WITH_TESTCASES = 114 +kBuildGlobalDefaults_LD_DEBUG = 115 115 --- Makefile.kmk.orig 2011-08-15 19:38:16.000000000 -0500 116 116 +++ Makefile.kmk 2011-08-15 19:38:16.000000000 -0500 … … 171 171 --- configure.orig 2011-08-15 19:38:16.000000000 -0500 172 172 +++ configure 2011-08-15 19:38:16.000000000 -0500 173 @@ -10 74,21 +1074,6 @@173 @@ -1013,21 +1013,6 @@ 174 174 check_sdl() 175 175 { … … 193 193 FLGSDL=`sdl-config --cflags` 194 194 INCSDL=`strip_I "$FLGSDL"` 195 @@ -10 97,7 +1082,6 @@195 @@ -1036,7 +1021,6 @@ 196 196 FLDSDL= 197 197 foundsdl=1 … … 201 201 if [ -n "$foundsdl" ]; then 202 202 cat > $ODIR.tmp_src.cc << EOF 203 @@ -1 445,53 +1429,20 @@203 @@ -1384,53 +1368,20 @@ 204 204 { 205 205 foundqt4= … … 255 255 pkg-config QtCore --libs` 256 256 foundqt4=1 257 @@ -1 533,7 +1484,6 @@257 @@ -1472,7 +1423,6 @@ 258 258 fi 259 259 done … … 263 263 cat > $ODIR.tmp_src.cc << EOF 264 264 #include <cstdio> 265 @@ -1 553,21 +1503,6 @@265 @@ -1492,21 +1442,6 @@ 266 266 [ -n "$INCQT4" ] && I_INCQT4=`prefix_I "$INCQT4"` 267 267 if test_compile "$LIBQT4 $LIBPTHREAD $I_INCQT4 $FLGQT4" qt4 qt4 nofatal; then … … 285 285 INCQT4=`echo "$INCQT4"|$KBUILD_SED 's|\([^ ]*\)/QtCore|\1|g; s| $||g'` 286 286 # store only the first path, remove all other pathes 287 @@ -1 613,7 +1548,6 @@287 @@ -1552,7 +1487,6 @@ 288 288 fi 289 289 fi … … 293 293 else 294 294 log_failure "qt4 not working" 295 @@ -20 71,19 +2005,55 @@295 @@ -2011,19 +1945,55 @@ 296 296 test_header "Darwin version" 297 297 darwin_ver=`uname -r` … … 353 353 fi 354 354 # test "$CC" = "gcc" && CC="gcc-4.0" 355 @@ -22 79,7 +2249,7 @@355 @@ -2219,7 +2189,7 @@ 356 356 --with-openssl-dir=*) 357 357 OPENSSLDIR=`echo $option | cut -d'=' -f2` -
trunk/dports/emulators/virtualbox/files/patch-vde.diff
r97829 r99021 1 1 --- configure.orig 2011-08-15 19:38:16.000000000 -0500 2 2 +++ configure 2011-08-15 19:38:16.000000000 -0500 3 @@ -2 602,7 +2602,7 @@3 @@ -2540,7 +2540,7 @@ 4 4 fi 5 5
Note: See TracChangeset
for help on using the changeset viewer.