diff options
author | tron <tron@pkgsrc.org> | 2004-04-15 20:27:18 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-04-15 20:27:18 +0000 |
commit | 34efb423d3d0ca7d27adfbc673f286754a1750d6 (patch) | |
tree | 31222c57e82b5bfb1b509d84b9321c43c250e933 /mail | |
parent | bb921ecbe9b62f8d8fdcc648d51bd15cec395217 (diff) | |
download | pkgsrc-34efb423d3d0ca7d27adfbc673f286754a1750d6.tar.gz |
Use buildlink3 to make sure that "libbind" from the "bind9" package is
used as resolver library. Bump package revision to enforce that and a
dependence on the fixed "bind9" package.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libspf-alt/Makefile | 8 | ||||
-rw-r--r-- | mail/libspf-alt/buildlink2.mk | 4 | ||||
-rw-r--r-- | mail/libspf-alt/buildlink3.mk | 20 |
3 files changed, 26 insertions, 6 deletions
diff --git a/mail/libspf-alt/Makefile b/mail/libspf-alt/Makefile index 17f938deb8c..fac961d8481 100644 --- a/mail/libspf-alt/Makefile +++ b/mail/libspf-alt/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2004/04/14 17:19:51 grant Exp $ -# +# $NetBSD: Makefile,v 1.5 2004/04/15 20:27:18 tron Exp $ DISTNAME= libspf_alt-0.4.0 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.midwestcs.com/spf/libspf-alt/ @@ -11,9 +11,9 @@ COMMENT= Sender Permitted Framework (SPF) library DEPENDS+= bind>=9.2.3nb3:../../net/bind9 -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES HAS_CONFIGURE= YES CONFIGURE_ARGS+=--with-bind=${BUILDLINK_PREFIX.bind} --prefix=${PREFIX} -.include "../../net/bind9/buildlink2.mk" +.include "../../net/bind9/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/libspf-alt/buildlink2.mk b/mail/libspf-alt/buildlink2.mk index 3121de786bd..9dc57e90596 100644 --- a/mail/libspf-alt/buildlink2.mk +++ b/mail/libspf-alt/buildlink2.mk @@ -1,10 +1,10 @@ -# $NetBSD: buildlink2.mk,v 1.2 2004/04/15 10:41:14 tron Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2004/04/15 20:27:18 tron Exp $ .if !defined(LIBSPF_ALT_BUILDLINK2_MK) LIBSPF_ALT_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= libspf_alt -BUILDLINK_DEPENDS.libspf_alt?= libspf_alt>=0.4.0 +BUILDLINK_DEPENDS.libspf_alt?= libspf_alt>=0.4.0nb1 BUILDLINK_PKGSRCDIR.libspf_alt?= ../../mail/libspf-alt EVAL_PREFIX+= BUILDLINK_PREFIX.libspf_alt=libspf_alt diff --git a/mail/libspf-alt/buildlink3.mk b/mail/libspf-alt/buildlink3.mk new file mode 100644 index 00000000000..9e9a8381fca --- /dev/null +++ b/mail/libspf-alt/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/15 20:27:18 tron 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 + +.if !empty(LIBSPF_ALT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libspf_alt+= libspf_alt>=0.4.0nb1 +BUILDLINK_PKGSRCDIR.libspf_alt?= ../../mail/libspf-alt +.endif # LIBSPF_ALT_BUILDLINK3_MK + +.include "../../net/bind9/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |