|
Lucio Andrés Illanes Albornoz |
7021b8 |
--- whois-5.5.7/Makefile.orig 2020-10-03 16:43:15.000000000 +0100
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+++ whois-5.5.7/Makefile 2021-01-23 07:55:24.889153830 +0000
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
@@ -42,12 +42,12 @@
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
$(error Please fix your build system to stop defining HAVE_LIBIDN!)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
endif
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-ifeq ($(shell $(PKG_CONFIG) --exists 'libidn2 >= 2.0.3' || echo NO),)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn2)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-DEFS += -DHAVE_LIBIDN2 $(shell $(PKG_CONFIG) --cflags libidn2)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn2)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags libidn2)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+else ifeq ($(shell ${PKG_CONFIG} --exists 'libidn' || echo NO),)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags libidn)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
endif
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
ifdef HAVE_ICONV
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
@@ -72,7 +72,7 @@
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
CPPFLAGS += $(DEFS) $(INCLUDES)
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
##############################################################################
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
-all: Makefile.depend whois mkpasswd pos
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
+all: Makefile.depend whois mkpasswd
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
##############################################################################
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
%.o: %.c
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
@@ -121,7 +121,7 @@
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
##############################################################################
|
|
|
796b24 |
-install: install-whois install-mkpasswd install-pos install-bashcomp
|
|
|
796b24 |
+install: install-whois install-mkpasswd install-bashcomp
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
install-whois: whois
|
|
Lucio Andrés Illanes Albornoz |
7021b8 |
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
|