Ignore:
Timestamp:
Jun 18, 2014, 6:01:53 PM (6 years ago)
Author:
mojca@…
Message:

root6: preliminary patches for 10.6 (#44062)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/root6/Portfile

    r121122 r121142  
    5858select.group        root
    5959select.file         ${filespath}/${name}
     60
     61patchfiles          patch-cmake-modules-SearchInstalledSoftware.cmake.diff
    6062
    6163# Force a compatible compiler
     
    417419variant cocoa conflicts x11 description {Enables native OSX graphical backend} {
    418420    # Enable cocoa support in configure
    419     configure.args-append   -Dcocoa=ON
     421    configure.args-append   -Dcocoa=ON -Dx11=OFF
    420422}
    421423
     
    424426    depends_lib-append      port:xorg-libX11 port:mesa port:Xft2 port:xpm
    425427    # Disable cocoa
    426     configure.args-append   -Dcocoa=OFF
     428    configure.args-append   -Dcocoa=OFF -Dx11=ON
     429    # TODO: configuration to find X11 libraries from MacPorts instead of external ones
    427430}
    428431
     
    481484}
    482485
     486# TODO:
     487# replace
     488#   -DCMAKE_OSX_SYSROOT="/Developer/SDKs/MacOSX10.6.sdk"
     489#   -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6"
     490# with
     491#   -DCMAKE_OSX_SYSROOT="/"
     492#   -DCMAKE_OSX_DEPLOYMENT_TARGET=""
     493
    483494# ========================================================================================
    484495# Following is for fortran support
Note: See TracChangeset for help on using the changeset viewer.