From f0b9debf4fe61faa2a8c41aa62e0a0fdac8def0d Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 17 Aug 2016 13:57:08 +0200 Subject: community/http-parser: moved from testing --- ...0005-makefile-fix-install-rule-dependency.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/http-parser/0005-makefile-fix-install-rule-dependency.patch (limited to 'community/http-parser/0005-makefile-fix-install-rule-dependency.patch') diff --git a/community/http-parser/0005-makefile-fix-install-rule-dependency.patch b/community/http-parser/0005-makefile-fix-install-rule-dependency.patch new file mode 100644 index 0000000000..da96637306 --- /dev/null +++ b/community/http-parser/0005-makefile-fix-install-rule-dependency.patch @@ -0,0 +1,33 @@ +From b67bfbe6a07529dd82e2ee83b6848d017e6e422f Mon Sep 17 00:00:00 2001 +From: hasufell +Date: Mon, 2 Nov 2015 16:51:28 +0100 +Subject: [PATCH 5/5] makefile: fix install rule dependency + +Otherwise the install rule will recompile the library, no matter +if it has already been compiled. +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index ae16f08..df0b59f 100644 +--- a/Makefile ++++ b/Makefile +@@ -122,12 +122,12 @@ parsertrace_g: http_parser_g.o contrib/parsertrace.c + tags: http_parser.c http_parser.h test.c + ctags $^ + +-install: library ++install: $(SONAME) + $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h" + $(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)" + ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)" + +-install-strip: library ++install-strip: $(SONAME) + $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h" + $(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)" + ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)" +-- +2.6.1 + -- cgit v1.2.3