From ae9139f827a97be4f4532bd3c3b2072a9aaa5f96 Mon Sep 17 00:00:00 2001 From: Michael Zhilin Date: Tue, 7 Dec 2021 17:11:09 +0300 Subject: [PATCH 1/2] www/http-parser: fix WITH_DEBUG build --- www/http-parser/Makefile | 1 + www/http-parser/files/patch-Makefile | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/www/http-parser/Makefile b/www/http-parser/Makefile index 05638a020e0f..fd050c0d62ad 100644 --- a/www/http-parser/Makefile +++ b/www/http-parser/Makefile @@ -2,6 +2,7 @@ PORTNAME= http-parser PORTVERSION= 2.9.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= www diff --git a/www/http-parser/files/patch-Makefile b/www/http-parser/files/patch-Makefile index b9d0e718c74b..b17097ae0660 100644 --- a/www/http-parser/files/patch-Makefile +++ b/www/http-parser/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2019-04-16 06:33:39 UTC +--- Makefile.orig 2020-03-24 10:54:06 UTC +++ Makefile @@ -54,7 +54,7 @@ CPPFLAGS_BENCH = $(CPPFLAGS_FAST) @@ -9,7 +9,15 @@ CFLAGS_BENCH = $(CFLAGS_FAST) -Wno-unused-parameter CFLAGS_LIB = $(CFLAGS_FAST) -fPIC -@@ -137,8 +137,8 @@ install: library +@@ -131,14 +131,14 @@ tags: http_parser.c http_parser.h test.c + ctags $^ + + install: library +- $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h +- $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) ++ $(INSTALL) http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h ++ $(INSTALL) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) + ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME) ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT) install-strip: library -- 2.32.0