Changeset 83173


Ignore:
Timestamp:
Aug 27, 2011, 5:35:20 AM (6 years ago)
Author:
ryandesign@…
Message:

virtualbox: the build architecture must match the architecture of the kernel; see #30974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/virtualbox/Portfile

    r83169 r83173  
    77name                virtualbox
    88version             4.1.2
    9 revision            2
     9revision            3
    1010categories          emulators
    1111maintainers         nomaintainer
     
    1919license             GPL-2
    2020homepage            http://www.virtualbox.org/
    21 supported_archs     i386
     21
     22# virtualbox installs a kernel extension so it has to build for the same architecture as the kernel
     23set kernel_arch [exec uname -m]
     24switch ${kernel_arch} {
     25    i386 -
     26    x86_64 {
     27        supported_archs ${kernel_arch}
     28    }
     29    default {
     30        supported_archs i386 x86_64
     31    }
     32}
     33
    2234universal_variant   no
     35
    2336platforms           darwin
    2437
Note: See TracChangeset for help on using the changeset viewer.