Changes between Initial Version and Version 1 of Ticket #52293
- Timestamp:
- Sep 20, 2016, 11:36:52 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52293 – Description
initial v1 22 22 --without-gss \ 23 23 --without-idn \ 24 + --without-l dbm\24 + --without-lmdb \ 25 25 --without-qdbm \ 26 26 --without-regex \ … … 32 32 -if {![variant_isset db4] && ![variant_isset qdbm] && ![variant_isset tokyocabinet]} { 33 33 - variant_set gdbm 34 +set hcache_variants {db4 qdbm tokyocabinet gdbm l dbm}34 +set hcache_variants {db4 qdbm tokyocabinet gdbm lmdb} 35 35 +if {[variant_isset headercache]} { 36 36 + set found no 37 + foreach hcache_impl {db4 qdbm tokyocabinet gdbm l dbm} {37 + foreach hcache_impl {db4 qdbm tokyocabinet gdbm lmdb} { 38 38 + if {[variant_isset $hcache_impl]} { 39 39 + set found yes … … 42 42 + if {!$found} { 43 43 + # If no variant was chosen, choose one for the user 44 + variant_set l dbm44 + variant_set lmdb 45 45 + } 46 46 } … … 74 74 } 75 75 -variant headercache conflicts db4 description {Enable header caching (requires gdbm, qdbm, or tokyocabinet)} { 76 +variant headercache description {Enable header caching (requires db4, gdbm, qdbm, l dbmor tokyocabinet)} {76 +variant headercache description {Enable header caching (requires db4, gdbm, qdbm, lmdb or tokyocabinet)} { 77 77 configure.args-replace --disable-hcache --enable-hcache 78 78 - configure.ldflags-append "-L/usr/lib" … … 84 84 configure.args-replace --disable-imap --enable-imap 85 85 } 86 +variant l dbm conflicts {*}[lsearch -all -inline -not $hcache_variants ldbm] description {Use LDBMdatabase} {87 + configure.args-replace --without-l dbm --with-ldbm=${prefix}88 + depends_lib-append port:l dbm86 +variant lmdb conflicts {*}[lsearch -all -inline -not $hcache_variants lmdb] description {Use LMDB database} { 87 + configure.args-replace --without-lmdb --with-lmdb=${prefix} 88 + depends_lib-append port:lmdb 89 89 +} 90 90 variant nntp description {NNTP support} {