tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ABI dependences for different version of BIND



        Hello,

after replacing the "bind97" package with the "bind98" package on my
machine the "mediatomb" package was broken because the major version
of "liblwres" had changed. Re-compiling the "mediatomb" package
fixed that problem of course.

I'm however wondering whether "pkgsrc" handles this correctly.
"pkgsrc/net/bind98/buildlink3.mk" looks like this at the moment:

BUILDLINK_TREE+=        bind

.if !defined(BIND_BUILDLINK3_MK)
BIND_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.bind+=    bind>=9.8.0
BUILDLINK_PKGSRCDIR.bind?=      ../../net/bind98
.endif # BIND_BUILDLINK3_MK

BUILDLINK_TREE+=        -bind

Should it not set "BUILDLINK_ABI_DEPENDS.bind"? If all the "bind"
buildlink files would set the ABI dependence like this ...

BUILDLINK_ABI_DEPENDS.bind+=    bind-9.<n>.*

... "pkg_add -u" would fail on a major update if "mediatomb" is installed.
The user would therefore know that she or he has to rebuild "mediatomb".

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index