Page MenuHomeFreeBSD

D41182.diff
No OneTemporary

D41182.diff

diff --git a/etc/Makefile b/etc/Makefile
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -4,6 +4,8 @@
.include <src.opts.mk>
.include <src.tools.mk>
+.include <bsd.compat.pre.mk>
+
FILESGROUPS= FILES
NLS_ALIASES= POSIX C \
en_US.US_ASCII C
@@ -104,10 +106,12 @@
mtree/BSD.usr.dist /usr \
mtree/BSD.include.dist /usr/include \
mtree/BSD.debug.dist /usr/lib
-.if ${MK_LIB32} != "no"
-MTREES+= mtree/BSD.lib32.dist /usr
-MTREES+= mtree/BSD.lib32.dist /usr/lib/debug/usr
+.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
+.if ${MK_LIB${LIBCOMPAT}} != "no"
+MTREES+= mtree/BSD.lib${libcompat}.dist /usr
+MTREES+= mtree/BSD.lib${libcompat}.dist /usr/lib/debug/usr
.endif
+.endfor
.if ${MK_TESTS} != "no"
MTREES+= mtree/BSD.tests.dist ${TESTSBASE}
MTREES+= mtree/BSD.tests.dist /usr/lib/debug/${TESTSBASE}
diff --git a/etc/mtree/Makefile b/etc/mtree/Makefile
--- a/etc/mtree/Makefile
+++ b/etc/mtree/Makefile
@@ -2,6 +2,8 @@
.include <src.opts.mk>
+.include <bsd.compat.pre.mk>
+
PACKAGE= mtree
# NOTE: BSD.debug.dist is unconditionally installed for developer ease-of-use.
@@ -9,15 +11,17 @@
BSD.debug.dist \
BSD.include.dist \
BSD.root.dist \
- ${_BSD.lib32.dist} \
+ ${_BSD.libcompats.dist} \
${_BSD.sendmail.dist} \
${_BSD.tests.dist} \
BSD.usr.dist \
BSD.var.dist
-.if ${MK_LIB32} != "no"
-_BSD.lib32.dist= BSD.lib32.dist
+.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
+.if ${MK_LIB${LIBCOMPAT}} != "no"
+_BSD.libcompats.dist+= BSD.lib${libcompat}.dist
.endif
+.endfor
.if ${MK_SENDMAIL} != "no"
_BSD.sendmail.dist= BSD.sendmail.dist
.endif

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 2, 7:32 PM (21 h, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13385020
Default Alt Text
D41182.diff (1 KB)

Event Timeline