...
 
Commits (2)
horst (5.1-2) unstable; urgency=medium
* Bug fix: "horst FTCBFS: upstream Makefile hard codes build
architecture tools", thanks to Helmut Grohne (Closes: #920780).
-- Antoine Beaupré <anarcat@debian.org> Fri, 01 Feb 2019 10:29:06 -0500
horst (5.1-1) unstable; urgency=medium
[ Ondřej Nový ]
......
--- horst-5.1.orig/Makefile
+++ horst-5.1/Makefile
@@ -54,6 +54,7 @@
radiotap/radiotap.o \
util.o \
wlan_util.o
+PKG_CONFIG ?= pkg-config
LIBS=-lncurses -lm
CFLAGS+=-std=gnu99 -Wall -Wextra -g -I. -DVERSION=\"$(VERSION)\"
@@ -83,7 +84,7 @@
endif
else
OBJS += ifctrl-nl80211.o
- CFLAGS += $(shell pkg-config --cflags libnl-$(LIBNL))
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-$(LIBNL))
ifeq ($(LIBNL),tiny)
LIBS+=-lnl-tiny
else
@@ -100,9 +101,9 @@
all: $(NAME)
.objdeps.mk: $(OBJS:%.o=%.c)
- gcc -MM -I. $^ >$@
+ $(CC) -MM -I. $^ >$@
ifeq ($(OSX),1)
- gcc -MM -I. ifctrl-osx.m >>$@
+ $(CC) -MM -I. ifctrl-osx.m >>$@
endif
-include .objdeps.mk
cross.patch
0001-add-support-for-PREFIX.patch
0001-install-manpages-in-share-properly-Closes-91.patch