Ticket #21014: Portfile-sl_64bit_21014.diff

File Portfile-sl_64bit_21014.diff, 621 bytes (added by grundmann.matthias@…, 15 years ago)

Workaround that allows opencv to be compiled in 64 bit mode. Removes quicktime support.

  • Portfile

    old new  
    2626configure.env           CPATH="${prefix}/include"    \
    2727                                        LIBRARY_PATH="${prefix}/lib"
    2828configure.cxxflags-append       "-I${prefix}/include -L${prefix}/lib"
     29
     30variant sl_64bit_21014 description {Work around to build for Snow Leopard in 64bit. Removes quicktime, replaces carbon with gtk. Changes processor target to Core2.} {
     31                  configure.post_args   --without-quicktime --without-carbon --with-gtk
     32                  configure.cxxflags-append "-I${prefix}/include -L${prefix}/lib -march=nocona -mtune=generic"
     33}
     34