Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151532639
D14315.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
931 B
Referenced Files
None
Subscribers
None
D14315.id.diff
View Options
Index: contrib/bmake/meta.c
===================================================================
--- contrib/bmake/meta.c
+++ contrib/bmake/meta.c
@@ -790,7 +790,9 @@
{
int error = 0;
BuildMon *pbm = pbmp;
+#ifdef USE_FILEMON
int x;
+#endif
if (!pbm)
pbm = &Mybm;
Index: usr.bin/bmake/Makefile
===================================================================
--- usr.bin/bmake/Makefile
+++ usr.bin/bmake/Makefile
@@ -92,7 +92,9 @@
CFLAGS+= ${COPTS.${.ALLSRC:M*.c:T:u}}
COPTS.main.c+= "-DMAKE_VERSION=\"${_MAKE_VERSION}\""
-# meta mode can be useful even without filemon
+# meta mode can be useful even without filemon
+# FIXME: this logic is wrong, we should be detecting if the target system
+# has filemon and not be looking at the host.
FILEMON_H ?= /usr/include/dev/filemon/filemon.h
.if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h"
COPTS.meta.c += -DHAVE_FILEMON_H -I${FILEMON_H:H}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 1:37 AM (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31185524
Default Alt Text
D14315.id.diff (931 B)
Attached To
Mode
D14315: Fix -Wunused-variable warning in bmake without USE_FILEMON
Attached
Detach File
Event Timeline
Log In to Comment