perl: Bind us to @gdbm:1.19 due to API change in gdbm@1.20: (#25819)
By changing return values from C #defines to enums, gdbm-1.20 breaks a kludge: #ifndef GDBM_ITEM_NOT_FOUND # define GDBM_ITEM_NOT_FOUND GDBM_NO_ERROR #endif The absence of the #define causes perl to #define GDBM_ITEM_NOT_FOUND as GDBM_NO_ERROR which incorrect for gdbm@1.20:
This commit is contained in:
parent
9ef1dbd0ef
commit
0ac751b27b
@ -63,7 +63,8 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
|
||||
|
||||
extendable = True
|
||||
|
||||
depends_on('gdbm')
|
||||
# Bind us below gdbm-1.20 due to API change: https://github.com/Perl/perl5/issues/18915
|
||||
depends_on('gdbm@:1.19')
|
||||
# :5.28 needs gdbm@:1:14.1: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=133295
|
||||
depends_on('gdbm@:1.14.1', when='@:5.28.0')
|
||||
depends_on('berkeley-db')
|
||||
|
Loading…
Reference in New Issue
Block a user