|
|
@@ -188,16 +188,6 @@ if { ${os.major} <= 12 && ${configure.cxx_stdlib} ne "libc++" } { |
|
|
} |
|
|
} |
|
|
} |
|
|
# } else { |
|
|
# # Note that we are forcing this choice. This means that anything linking |
|
|
# # against root6 needs to also be using libc++. This is possibly |
|
|
# # problematic, but luckily there is just a limited set of such dependents. |
|
|
# # Another problem is that all dependencies might need to be built-in |
|
|
# # to make sure that they all use libc++. |
|
|
# if { ${configure.cxx_stdlib} ne "libc++" } { |
|
|
# configure.cxx_stdlib libc++ |
|
|
# depends_lib-append port:libcxx |
|
|
# } |
|
|
|
|
|
# Configure the C++ runtime to use |
|
|
if { ${configure.cxx_stdlib} ne "libc++" } { |
|
|
@@ -275,9 +265,6 @@ post-destroot { |
|
|
# uncoment some settings |
|
|
reinplace "s|#\*\.\*\.Root\.TTFontPath|\*\.\*\.Root\.TTFontPath|g" ${rootsystemrcfile} |
|
|
reinplace "s|#Unix\.\*\.Gui.IconPath|Unix\.\*\.Gui\.IconPath|g" ${rootsystemrcfile} |
|
|
# Workaround for https://trac.macports.org/ticket/57007 |
|
|
#delete ${destroot}${install_prefix}/include/root/RConfig.h |
|
|
#ln -s ${install_prefix}/include/root/ROOT/RConfig.h ${destroot}${install_prefix}/include/root/RConfig.h |
|
|
} |
|
|
|
|
|
set run_port_select "No" |
|
|
@@ -368,8 +355,6 @@ variant fftw3 description {Build with fftw3 support} { |
|
|
} |
|
|
|
|
|
variant gsl description {Build with gsl support} { |
|
|
# Builtin GSL library |
|
|
#configure.args-replace -Dbuiltin_gsl=OFF -Dbuiltin_gsl=ON |
|
|
# External GSL library |
|
|
configure.args-replace -Dgsl_shared=OFF -Dgsl_shared=ON |
|
|
configure.args-append -DGSL_CONFIG_EXECUTABLE="${prefix}/bin/gsl-config" |
|
|
@@ -496,9 +481,6 @@ foreach py_ver ${python_versions} { |
|
|
foreach f [ exec find ${destroot}${install_prefix} -type f -and -name "*.py" ] { |
|
|
reinplace -q "s|${pystringtoreplace}|${prefix}/bin/python${active_python_version}|g" $f |
|
|
} |
|
|
#foreach f [ exec find ${destroot}${install_prefix}/bin -type f | xargs grep -Il ${pystringtoreplace} ] { |
|
|
# reinplace "s|${pystringtoreplace}|${prefix}/bin/python${active_python_version}|g" $f |
|
|
#} |
|
|
# Support for juypter |
|
|
ln -s ${install_prefix}/lib/root/JupyROOT ${destroot}${mypysitedir}/ |
|
|
ln -s ${install_prefix}/lib/root/JsMVA ${destroot}${mypysitedir}/ |
|
|
@@ -739,22 +721,3 @@ foreach gcc_ver ${gcc_versions} { |
|
|
|
|
|
# ======================================================================================== |
|
|
|
|
|
# Various variants etc. with problems. Work in progress... |
|
|
|
|
|
# variant ruby description {Build with ruby support} { |
|
|
# configure.args-replace -Druby=OFF -Druby=ON |
|
|
# depends_lib-append port:ruby |
|
|
# } |
|
|
|
|
|
# variant geocad description {Enable CAD Interface} { |
|
|
# configure.args-replace -Dgeocad=OFF -Dgeocad=ON |
|
|
# depends_lib-append port:oce |
|
|
# configure.args-append -DOCC_INCLUDE_DIR="${prefix}/include/oce" |
|
|
# } |
|
|
|
|
|
# variant r description {Enable R support} { |
|
|
# configure.args-replace -Dr=OFF -Dr=ON |
|
|
# depends_lib-append port:R |
|
|
# } |
|
|
|
|
|
|