Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148354497
D22872.id65802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D22872.id65802.diff
View Options
Index: head/lib/libmagic/Makefile
===================================================================
--- head/lib/libmagic/Makefile
+++ head/lib/libmagic/Makefile
@@ -37,7 +37,7 @@
magic: ${MAGFILES}
cat ${.ALLSRC:O} > ${.TARGET}
-magic.mgc: mkmagic magic
+magic.mgc: magic
${BTOOLSPATH:U.}/mkmagic magic
.if ${MACHINE} == "host" || ${MK_DIRDEPS_BUILD} == "no"
@@ -51,6 +51,8 @@
.endif
.if ${MK_DIRDEPS_BUILD} == "yes"
BTOOLSPATH= ${HOST_OBJTOP}/${RELDIR}
+.else
+magic.mgc: mkmagic
.endif
FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3; exit }' \
Index: head/lib/libpmc/Makefile
===================================================================
--- head/lib/libpmc/Makefile
+++ head/lib/libpmc/Makefile
@@ -20,7 +20,7 @@
.if ${MK_DIRDEPS_BUILD} == "yes"
# avoid circular dependency
-CFLAGS+= -I${RELDIR:H}/libpmcstat
+CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
GENDIRDEPS_FILTER+= N${RELDIR:H}/libpmcstat
JEVENTS?= ${HOST_OBJTOP}/${RELDIR}/pmu-events/jevents
.else
Index: head/share/mk/local.dirdeps.mk
===================================================================
--- head/share/mk/local.dirdeps.mk
+++ head/share/mk/local.dirdeps.mk
@@ -222,7 +222,7 @@
.endif
# this one is too pervasive
-.if ${MK_BSD_CRTBEGIN} == "no" && ${DEP_RELDIR} != "gnu/lib/csu"
+.if ${MK_BSD_CRTBEGIN} == "no" && ${DEP_RELDIR:N.:Ngnu/lib/csu:Ninclude*:Ntargets/*} != ""
DIRDEPS+= gnu/lib/csu
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 8:06 AM (11 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29892764
Default Alt Text
D22872.id65802.diff (1 KB)
Attached To
Mode
D22872: Tweaks for DIRDEPS_BUILD
Attached
Detach File
Event Timeline
Log In to Comment