From cc85fa29a67abc6cb0fc2f3902e2f284a8fd41cc Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 18 Apr 2002 06:46:34 +0000 Subject: 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 --- lib/compat/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 .if defined(LIBS) && !empty(LIBS) beforeinstall: __remove-stale-libs -- cgit v1.1