From 9e92b0f0152ecfcc9563a144ebfb701b86d7ae5d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 24 Jul 2019 21:06:19 +0000 Subject: libsysdecode: add explicit dependencies on recently changed headers r349369 removed IP_MIN_MEMBERSHIPS and IPV6_MIN_MEMBERSHIPS, and r349893 removed TCP_RACK_SESS_CWV. libsysdecode lacked dependencies to trigger a rebuild of tables.h. Add explicit dependencies as a workaround to address these specific cases; a holistic solution is still needed. Sponsored by: The FreeBSD Foundation --- lib/libsysdecode/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libsysdecode') diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index b11b75a09a72..caab36d1e303 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -123,7 +123,8 @@ CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} DEPENDOBJS+= tables.h -tables.h: mktables +tables.h: mktables ${SYSROOT}/sys/netinet/in.h ${SYSROOT}/sys/netinet/tcp.h \ + ${SYSROOT}/sys/netinet6/in6.h sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET}.tmp && \ mv -f ${.TARGET}.tmp ${.TARGET} -- cgit v1.3