summaryrefslogtreecommitdiffstats
path: root/kerberos5
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-02-11 16:47:05 +0000
committerru <ru@FreeBSD.org>2002-02-11 16:47:05 +0000
commit514239b04ba432003e58872434f4ffb62fdcd712 (patch)
tree4f20e8013191ef3a445c2355a995728d9d23e57c /kerberos5
parent030106f8335a3c24a2d3572e5fde4240eb33d0b9 (diff)
downloadFreeBSD-src-514239b04ba432003e58872434f4ffb62fdcd712.zip
FreeBSD-src-514239b04ba432003e58872434f4ffb62fdcd712.tar.gz
Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken
(make-roken is a build tool). This bug was hiding itself after a just fixed bug in cross-linker (binutuils/ld/Makefile,v 1.20). The bug was fatal for cross builds; for example, an alpha binary (make-roken) was attempted to be run on i386. Added make-roken to the list of build-tools in libasn1. It only worked because another build tool needs make-roken implicitly: (build-tools: asn1_compile: print_version.o: roken.h: make-roken). Spotted by: nectar
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/lib/libasn1/Makefile2
-rw-r--r--kerberos5/lib/libroken/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile
index b7fa9e1..bc71dad 100644
--- a/kerberos5/lib/libasn1/Makefile
+++ b/kerberos5/lib/libasn1/Makefile
@@ -83,7 +83,7 @@ CLEANFILES+= ${GEN:S/.x/.c/g} krb5_asn1.h asn1_files
${GEN} krb5_asn1.h: asn1_compile k5.asn1
./asn1_compile ${KRB5DIR}/lib/asn1/k5.asn1 krb5_asn1
-build-tools: make-print-version asn1_compile
+build-tools: make-print-version make-roken asn1_compile
asn1_compile: \
gen.c \
diff --git a/kerberos5/lib/libroken/Makefile b/kerberos5/lib/libroken/Makefile
index 8a3c185..7135111 100644
--- a/kerberos5/lib/libroken/Makefile
+++ b/kerberos5/lib/libroken/Makefile
@@ -61,3 +61,5 @@ INCLUDES= roken.h ${KRB5DIR}/lib/roken/roken-common.h
.include <bsd.lib.mk>
.PATH: ${KRB5DIR}/lib/roken
+
+build-tools: make-roken
OpenPOWER on IntegriCloud