From: Fabrice Fontaine Date: Mon, 14 Sep 2020 20:42:39 +0000 (+0200) Subject: package/dhcpdump: fix build without pod2man X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=698dcb61ea8ab81f92091dba372e996611d1168d;p=buildroot.git package/dhcpdump: fix build without pod2man Use dhcpdump target to avoid building dhcpdump.8 as it will raise the following build failure if pod2man is not available: pod2man --section 8 \ --date "23 June 2008" \ --name "DHCPDUMP" \ --center "User Contributed Software" \ dhcpdump.pod dhcpdump.8 /bin/sh: pod2man: command not found make[1]: *** [Makefile:11: dhcpdump.8] Error 127 Fixes: - http://autobuild.buildroot.org/results/db3be149ec71de8376f685a6a9f027191d9bccc9 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/dhcpdump/dhcpdump.mk b/package/dhcpdump/dhcpdump.mk index 2413812880..ec9571c0af 100644 --- a/package/dhcpdump/dhcpdump.mk +++ b/package/dhcpdump/dhcpdump.mk @@ -20,7 +20,7 @@ DHCPDUMP_CFLAGS = $(TARGET_CFLAGS) -DHAVE_STRSEP define DHCPDUMP_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC) $(DHCPDUMP_CFLAGS) \ - -D_GNU_SOURCE" LIBS="$(DHCPDUMP_LIBS)" + -D_GNU_SOURCE" LIBS="$(DHCPDUMP_LIBS)" dhcpdump endef define DHCPDUMP_INSTALL_TARGET_CMDS