Permalink
Browse files
xrootd: Add some deps, migrate to python 3.7
- Loading branch information
Showing
with
12 additions
and
5 deletions.
-
+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 |
|
|
|