pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/heimdal Include buildlink3.mk files for packa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9663d6cdf536
branches:  trunk
changeset: 480568:9663d6cdf536
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Sep 15 04:11:11 2004 +0000

description:
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.

diffstat:

 security/heimdal/buildlink3.mk |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r cbaa6b0ac73c -r 9663d6cdf536 security/heimdal/buildlink3.mk
--- a/security/heimdal/buildlink3.mk    Wed Sep 15 03:59:17 2004 +0000
+++ b/security/heimdal/buildlink3.mk    Wed Sep 15 04:11:11 2004 +0000
@@ -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_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/+$//}



Home | Main Index | Thread Index | Old Index