1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 04:44:10 +02:00
openwrt-packages/utils/whois/patches/010-no-mkpasswd.patch
Rosen Penev 273923d5d2
whois: fix compilation with glibc
Just don't install mkpasswd at all. It's not used and causes problems.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-31 15:34:21 -08:00

21 lines
637 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ endif
CPPFLAGS += $(DEFS) $(INCLUDES)
##############################################################################
-all: Makefile.depend whois mkpasswd pos
+all: Makefile.depend whois
##############################################################################
%.o: %.c
@@ -121,7 +121,7 @@ afl-run:
nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois
##############################################################################
-install: install-whois install-mkpasswd install-pos
+install: install-whois
install-whois: whois
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/