diff options
author | tron <tron@pkgsrc.org> | 2004-07-18 15:41:35 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-07-18 15:41:35 +0000 |
commit | 549308aff4dd661e820718c5ba2d77b330d566c3 (patch) | |
tree | e04723dc26b4d561197482b680424dcbd303c670 | |
parent | 1a1ae06da2bde55a4c37ec28dff5eeae2d93bb9d (diff) | |
download | pkgsrc-549308aff4dd661e820718c5ba2d77b330d566c3.tar.gz |
Added missing package version handling. Pointed out by Mark Davies.
-rw-r--r-- | mail/libmilter/builtin.mk | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/mail/libmilter/builtin.mk b/mail/libmilter/builtin.mk index efaa49560ac..57b3b9574e7 100644 --- a/mail/libmilter/builtin.mk +++ b/mail/libmilter/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.1 2004/06/30 13:48:55 tron Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/07/18 15:41:35 tron Exp $ .if !defined(IS_BUILTIN.libmilter) IS_BUILTIN.libmilter= no @@ -7,4 +7,21 @@ IS_BUILTIN.libmilter= yes . endif .endif # IS_BUILTIN.libmilter +.if !defined(USE_BUILTIN.libmilter) USE_BUILTIN.libmilter?= ${IS_BUILTIN.libmilter} + +. if defined(BUILTIN_PKG.libmilter) +USE_BUILTIN.libmilter= yes +. for _depend_ in ${BUILDLINK_DEPENDS.libmilter} +. if !empty(USE_BUILTIN.libmilter:M[yY][eE][sS]) +USE_BUILTIN.libmilter!= \ + if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.libmilter}; then \ + ${ECHO} "yes"; \ + else \ + ${ECHO} "no"; \ + fi +. endif +. endfor +. endif +.endif # USE_BUILTIN.libmilter + |