diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-15 04:11:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-15 04:11:11 +0000 |
commit | d19adcd53e4df2e906c42bbe4620d9fcdf441083 (patch) | |
tree | dd5cd33443eaa3a83d23cb855689303f4e4cb2e3 | |
parent | f6447cb6388786d65c7ec56ef015f62fb500b443 (diff) | |
download | pkgsrc-d19adcd53e4df2e906c42bbe4620d9fcdf441083.tar.gz |
Include buildlink3.mk files for packages needed to satisfy library
dependencies. This fixes link failures when the Heimdal dependency
is satisfied by the package rather than the builtin Heimdal. Pointed
out by Mark Davies in private email.
I've intentionally left out including readline/buildlink3.mk. Although
it is used by libsl.* and libss.*, those libraries are not actually
critical or used by other packages that depend on Heimdal for Kerberos
functionality.
-rw-r--r-- | security/heimdal/buildlink3.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/security/heimdal/buildlink3.mk b/security/heimdal/buildlink3.mk index 6afef8efd18..77b362e9194 100644 --- a/security/heimdal/buildlink3.mk +++ b/security/heimdal/buildlink3.mk @@ -1,8 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.17 2004/09/14 14:41:34 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2004/09/15 04:11:11 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ HEIMDAL_BUILDLINK3_MK:= ${HEIMDAL_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= heimdal .endif @@ -17,4 +19,13 @@ BUILDLINK_PKGSRCDIR.heimdal?= ../../security/heimdal BUILDLINK_INCDIRS.heimdal?= include/krb5 .endif # HEIMDAL_BUILDLINK3_MK +PKG_OPTIONS.heimdal?= ${PKG_DEFAULT_OPTIONS} + +.include "../../security/openssl/buildlink3.mk" +.if !empty(PKG_OPTIONS.heimdal:Mdb4) +. include "../../databases/db4/buildlink3.mk" +.else +. include "../../mk/bdb.buildlink3.mk" +.endif + BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |