summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-18 06:46:34 +0000
committerru <ru@FreeBSD.org>2002-04-18 06:46:34 +0000
commitcc85fa29a67abc6cb0fc2f3902e2f284a8fd41cc (patch)
tree4b9c45dc1e520d65d2636572da434aa6db838b93 /lib
parent11ed604e5412e0f37f06e1e818231be244499d06 (diff)
downloadFreeBSD-src-cc85fa29a67abc6cb0fc2f3902e2f284a8fd41cc.zip
FreeBSD-src-cc85fa29a67abc6cb0fc2f3902e2f284a8fd41cc.tar.gz
This Makefile.inc depended on the (wrong) order of inclusion
of makefiles: bsd.own.mk was included before ../Makefile.inc, effectively hiding the (wrong) LIBCOMPATDIR assignment here. share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed this order, revealed this bug, and broke "make release" and "make installworld" with either of -DCOMPAT1X or -DCOMPAT2?. Reported by: jhay
Diffstat (limited to 'lib')
-rw-r--r--lib/compat/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compat/Makefile.inc b/lib/compat/Makefile.inc
index 206c437..e26661f 100644
--- a/lib/compat/Makefile.inc
+++ b/lib/compat/Makefile.inc
@@ -1,6 +1,7 @@
# $FreeBSD$
-LIBCOMPATDIR?= ${LIBDIR}/compat/aout
+# Suck in ${SHLIBDIR} definition.
+.include <bsd.own.mk>
.if defined(LIBS) && !empty(LIBS)
beforeinstall: __remove-stale-libs
OpenPOWER on IntegriCloud