Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2005 11:34:15 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/kerberos5/libexec/hprop Makefile
Message-ID:  <20050118093415.GB2222@straylight.m.ringlet.net>
In-Reply-To: <200501171735.j0HHZcUL070254@repoman.freebsd.org>
References:  <20050117211120.CB5FC16A4CF@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 17, 2005 at 05:35:38PM +0000, Robert Watson <rwatson@FreeBSD.or=
g> wrote:
> rwatson     2005-01-17 17:35:38 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:        (Branch: RELENG_4)
>     kerberos5/libexec/hprop Makefile=20
>   Log:
>   When building hprop, add ${KRB5DIR}/lib to the include path, as the
>   mit_dump.c expects to be able to include krb5/admin.h.
>  =20
>   Revision  Changes    Path
>   1.3.2.4   +1 -0      src/kerberos5/libexec/hprop/Makefile

This seems to have broken my krb4-less build, since libkafs5 is only
built with Kerberos 4 according to src/kerberos5/lib/Makefile.  Here's a
patch that moves the kafs5 library within the MAKE_KERBEROS4
conditional, and it seems to work for me.  I could commit it if it looks
correct to you.

G'luck,
Peter

Index: src/kerberos5/libexec/hprop/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/kerberos5/libexec/hprop/Makefile,v
retrieving revision 1.3.2.4
diff -u -r1.3.2.4 Makefile
--- src/kerberos5/libexec/hprop/Makefile	17 Jan 2005 17:35:38 -0000	1.3.2.4
+++ src/kerberos5/libexec/hprop/Makefile	18 Jan 2005 09:32:53 -0000
@@ -14,15 +14,15 @@
 		-I${HDBOBJDIR} \
 		-I${.OBJDIR}
 .if defined(MAKE_KERBEROS4)
-_krb4libs=3D	-lkrb -lkafs -lkdb
-_krb4deps=3D	${LIBKRB} ${LIBKAFS} ${LIBKDB}
+_krb4libs=3D	-lkrb -lkafs -lkdb -L${KAFS5OBJDIR} -lkafs5
+_krb4deps=3D	${LIBKRB} ${LIBKAFS} ${LIBKDB} ${LIBKAFS5}
 .endif
-LDADD=3D		-L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \
+LDADD=3D		-L${KRB5OBJDIR} -lkrb5 \
 		-L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken \
 		-L${VERSOBJDIR} -lvers \
 		${_krb4libs} \
 		-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
-DPADD=3D		${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \
+DPADD=3D		${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \
 		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
 MAN=3D		hprop.8
=20

--=20
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
What would this sentence be like if pi were 3?

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB7NgX7Ri2jRYZRVMRAqiiAJ46QoOF1JB01Bv6k2pKSg+hWZHUAgCgxvSq
CJqlhPf/BeJEpmohx2GV/BU=
=GLnK
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050118093415.GB2222>