Changeset 99189


Ignore:
Timestamp:
Oct 29, 2012, 7:10:25 AM (12 years ago)
Author:
ryandesign@…
Message:

root: disable tiff when cocoa is enabled; update configure patch; remove symlink workaround no longer needed with this version (#36777)

Location:
trunk/dports/science/root
Files:
1 added
2 edited

Legend:

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

    r99187 r99189  
    66name                root
    77version             5.34.03
    8 revision            0
     8revision            1
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
     
    354354        }
    355355    }
    356     # Disable asimage and astiff, as causes build failures with cocoa enabled ??
    357     # Not clear why. To be looked into ...
    358     configure.args-append --enable-cocoa --disable-asimage --disable-astiff
    359     # Fix a small issue with the cocoa backend where the 'root' command is not created ...
    360     post-destroot {
    361         system "( cd ${destroot}${prefix}/bin ; ln -s root.exe root )"
    362     }
     356    # Enable cocoa support in configure
     357    configure.args-append --enable-cocoa
     358    # patch afterimage build to make sure TIFF suport is disabled. Causes problems with cocoa...
     359    patchfiles-append patch-builtin-afterimage-disabletiff.diff
    363360}
    364361
  • trunk/dports/science/root/files/patch-configure.diff

    r87844 r99189  
    1 --- /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_science_root/root/work/root/configure        2011-12-02 11:42:22.000000000 +0000
    2 +++ configure   2011-12-04 13:57:40.000000000 +0000
    3 @@ -433,19 +433,19 @@
     1--- configure.original  2012-10-28 18:18:50.000000000 +0000
     2+++ configure   2012-10-28 18:21:14.000000000 +0000
     3@@ -436,19 +436,19 @@
    44             chklib64file=`ar t $chklib64 | awk '{if (NR == 2) print $1}'`
    55             logmsg " ar x $chklib64 $chklib64file"
     
    2626             fi
    2727         fi
     28@@ -2597,7 +2597,7 @@
     29    if `$cwhich freetype-config > /dev/null 2>&1` && test "x$host" = "x" ; then
     30       if test "x$macosx108" = "xyes" && (file -h `$cwhich freetype-config` | grep 'xstub' > /dev/null 2>&1 || test "x$enable_cocoa" = "xyes"); then
     31          enable_builtin_freetype="yes"
     32-         if file -h `$cwhich freetype-config` | grep 'xstub' > /dev/null 2>&1 ; then
     33+         if /usr/bin/file -h `$cwhich freetype-config` | grep 'xstub' > /dev/null 2>&1 ; then
     34             result "XQuartz not installed"
     35          else
     36             result "using builtin freetype"
Note: See TracChangeset for help on using the changeset viewer.