e24209d145
For now, DragonFly and FreeBSD use the libc version, it is not reentrant, but thread-safe. NetBSD 3.0+ and Darwin 8.0+ use libresolv from base (the BIND9 resolver), all other fall back to net/bind9. Feel free to add your favorite platform if it has a thread-safe resolver in base. Modify mail/libspf-alf, mail/milter-greylist, mail/spamdyke and net/nocol accordingly. Testing on !DragonFly and feedback from tron@
23 lines
762 B
Makefile
23 lines
762 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2007/07/03 13:54:45 joerg Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
LIBSPF_ALT_BUILDLINK3_MK:= ${LIBSPF_ALT_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= libspf_alt
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspf_alt}
|
|
BUILDLINK_PACKAGES+= libspf_alt
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libspf_alt
|
|
|
|
.if !empty(LIBSPF_ALT_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.libspf_alt+= libspf_alt>=0.4.0nb1
|
|
BUILDLINK_ABI_DEPENDS.libspf_alt+= libspf_alt>=0.4.0nb3
|
|
BUILDLINK_PKGSRCDIR.libspf_alt?= ../../mail/libspf-alt
|
|
.endif # LIBSPF_ALT_BUILDLINK3_MK
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/resolv.buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|