Ticket #23754: pythonvariant.patch

File pythonvariant.patch, 999 bytes (added by arsptr@…, 13 years ago)

Patch for portfile

  • Portfile

    old new  
    2929configure.args  --mandir=${prefix}/share/man \
    3030                                --without-avahi
    3131
    32 # If you cant run pump mode due to a "mach-o, but wrong architecture" error on a 64-bit system, it
    33 # might be because you are using the OS-provided python. On MacOS X, the standard python2.5 install
    34 # does not include a 64-bit image. Hence these two variants use a MacPorts-provided python which is
    35 # guaranteed to be architecture-compatible with the include_server's C extensions.
    36 
    37 variant python26 description "Uses Python 2.6 port for includes_server" {
    38     depends_run-append port:python26
    39     configure.python ${prefix}/bin/python2.6
    40 }
    41 variant python27 description "Uses Python 2.7 port for includes_server" {
    42     depends_run-append port:python27
    43     configure.python ${prefix}/bin/python2.7
    44 }
     32universal_variant no