Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (34 sloc) 1.63 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.26 5.28
perl5.setup BerkeleyDB 0.61
# Increase the revision any time the version of db48 db53 db60 or db62 changes.
# See https://trac.macports.org/ticket/56561
license {Artistic-1 GPL}
maintainers nomaintainer
description BerkeleyDB - Perl extension for Berkeley DB version 2, 3, 4, 5 or 6
long_description ${description}
platforms darwin
checksums rmd160 16174775cdceca480c2f5ba31c8a9acc4a50de94 \
sha256 3fbe97a748209aabb67201598fcac0bf645b85be4419ce7a4bca7c16c0d8c550 \
size 207225
variant db48 conflicts db53 db60 db62 description {Build with Berkeley DB 4.8} {}
variant db53 conflicts db48 db60 db62 description {Build with Berkeley DB 5.3} {}
variant db60 conflicts db48 db53 db62 description {Build with Berkeley DB 6.0} {}
variant db62 conflicts db48 db53 db60 description {Build with Berkeley DB 6.2} {}
if {![variant_isset db48] && ![variant_isset db53] && ![variant_isset db60] && ![variant_isset db62]} {
default_variants +db62
}
if {${perl5.major} != ""} {
foreach setvariant {db48 db53 db60 db62} {
if {[variant_isset $setvariant]} {
depends_lib-append \
port:$setvariant
configure.env \
BERKELEYDB_INCLUDE=${prefix}/include/$setvariant \
BERKELEYDB_LIB=${prefix}/lib/$setvariant \
DBNAME=-ldb
}
}
}
You can’t perform that action at this time.