Changeset 82401
- Timestamp:
- 08/12/11 20:37:54 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/science/root/Portfile (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/root/Portfile
r80318 r82401 6 6 name root 7 7 version 5.30.00 8 revision 18 revision 2 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 11 license LGPL v2.111 license LGPL-2.1+ 12 12 description Root cern data analysis framework 13 13 long_description The ROOT system provides a set of frameworks with all \ … … 37 37 port:tiff 38 38 39 pre-configure { 40 build.args CC=${configure.cc} \ 41 CXX=${configure.cxx} \ 42 F77=${configure.f77} 43 39 post-patch { 44 40 reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in 45 41 reinplace "s|\"/usr/include\"|\"${prefix}/include/\" \"/usr/include\"|g" ${worksrcpath}/configure … … 47 43 reinplace "s|/usr/include |${prefix}/include /usr/include |g" ${worksrcpath}/configure 48 44 reinplace "s|\"/usr/lib\"|\"${prefix}/lib/\" \"/usr/lib\"g|" ${worksrcpath}/configure 45 } 46 47 pre-configure { 48 configure.args-append \ 49 --with-cc=${configure.cc} \ 50 --with-cxx=${configure.cxx} \ 51 --with-ld=${configure.cxx} \ 52 --with-f77=${configure.f77} 49 53 50 54 # the build type (32 or 64 bit) -must- be for first argument … … 56 60 } 57 61 58 configure.args --with-cc=${configure.cc} \ 59 --with-f77=${configure.f77} \ 60 --with-cxx=${configure.cxx} \ 61 --docdir=${prefix}/share/doc/${name} \ 62 configure.args --docdir=${prefix}/share/doc/${name} \ 62 63 --libdir=${prefix}/lib/root \ 63 64 --testdir=${prefix}/share/root/test \ … … 86 87 --with-xpm-libdir=${prefix}/lib 87 88 89 pre-build { 90 build.args CC=${configure.cc} \ 91 CXX=${configure.cxx} \ 92 F77=${configure.f77} 93 } 94 88 95 use_parallel_build no 89 96 … … 248 255 } 249 256 250 variant gcc44 conflicts gcc45 description {Enables compilation using MacPorts gcc 4.4 compiler} { 251 configure.args-append --with-cc=gcc-mp-4.4 252 configure.args-append --with-cxx=cpp-mp-4.4 253 configure.args-append --with-f77=gfortran-mp-4.4 254 configure.args-append --with-ld=g++-mp-4.4 257 variant gcc44 conflicts gcc45 description {Compile using MacPorts gcc 4.4} { 255 258 configure.compiler macports-gcc-4.4 256 259 depends_lib-append port:gcc44 257 260 } 258 261 259 variant gcc45 conflicts gcc44 description {Enables compilation using MacPorts gcc 4.5 compiler} { 260 configure.args-append --with-cc=gcc-mp-4.5 261 configure.args-append --with-cxx=cpp-mp-4.5 262 configure.args-append --with-f77=gfortran-mp-4.5 263 configure.args-append --with-ld=g++-mp-4.5 262 variant gcc45 conflicts gcc44 description {Compile using MacPorts gcc 4.5} { 264 263 configure.compiler macports-gcc-4.5 265 264 depends_lib-append port:gcc45 266 265 } 267 266 268 #variant gcc46 conflicts gcc44 gcc45 description {Enables compilation using MacPorts gcc 4.6 compiler} { 269 # configure.args-append --with-cc=gcc-mp-4.6 270 # configure.args-append --with-cxx=cpp-mp-4.6 271 # configure.args-append --with-f77=gfortran-mp-4.6 272 # configure.args-append --with-ld=g++-mp-4.6 267 #variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} { 273 268 # configure.compiler macports-gcc-4.6 274 269 # depends_lib-append port:gcc46
Note: See TracChangeset
for help on using the changeset viewer.

