Skip to content
Permalink
Browse files

xrootd: Add some deps, migrate to python 3.7

  • Loading branch information
cjones051073 committed Apr 6, 2019
1 parent 3287afa commit 55bf274f0aabf9c8e35206917410af4c4b23e47f
Showing with 12 additions and 5 deletions.
  1. +12 −5 science/xrootd/Portfile
@@ -9,7 +9,7 @@ PortGroup legacysupport 1.0

github.setup xrootd xrootd 4.9.1 v
version ${github.version}
revision 0
revision 1

livecheck.version ${version}
livecheck.type regex
@@ -33,11 +33,17 @@ checksums rmd160 b95c010dc952b641cae07805259a8c1ad689872b \
sha256 712fd994ac317da1dd849334f407a57ef600e941e1b989d0922dc1bb9771c952 \
size 2554863

depends_build-append port:cctools
depends_build-append port:cctools \
port:pkgconfig

depends_lib port:python27 \
set python_v 3.7
set python_v_nodot [string map {. {}} $python_v]

depends_lib port:curl \
port:python${python_v_nodot} \
port:swig \
port:zlib
port:libxml2 \
port:zlib

default_variants +ssl +readline +kerberos

@@ -66,7 +72,8 @@ configure.args-append -DENABLE_CRYPTO=False \
-DENABLE_FUSE=False \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_FLAGS="${configure.cxxflags}" \
-DCMAKE_INSTALL_MANDIR="share/man"
-DCMAKE_INSTALL_MANDIR="share/man" \
-DPYTHON_EXECUTABLE=${prefix}/bin/python${python_v}

variant readline description {Build with Readline Support} {
configure.args-delete -DENABLE_READLINE=False

0 comments on commit 55bf274

Please sign in to comment.
You can’t perform that action at this time.