diff --git a/srcpkgs/tdb/depends b/srcpkgs/tdb/depends index f5b81e443e3..b4422d83d27 100644 --- a/srcpkgs/tdb/depends +++ b/srcpkgs/tdb/depends @@ -1,2 +1,2 @@ -abi_depends=">=2.0.1" +abi_depends=">=1.2.2" api_depends="${abi_depends}" diff --git a/srcpkgs/tdb/template b/srcpkgs/tdb/template index c1096517e52..0df0f4b0a86 100644 --- a/srcpkgs/tdb/template +++ b/srcpkgs/tdb/template @@ -24,3 +24,9 @@ pre_configure() { cd ${wrksrc} && ./autogen.sh } + +post_install() +{ + # _PUBLIC_ is only defined internally! + sed -i -e "s|_PUBLIC_ ||g" ${DESTDIR}/usr/include/tdb.h +}