diff --git a/srcpkgs/http-parser/patches/fix-destdir.diff b/srcpkgs/http-parser/patches/fix-destdir.diff index c084a21d59..23be9801f2 100644 --- a/srcpkgs/http-parser/patches/fix-destdir.diff +++ b/srcpkgs/http-parser/patches/fix-destdir.diff @@ -9,26 +9,30 @@ LIBDIR = $(PREFIX)/lib INCLUDEDIR = $(PREFIX)/include -@@ -112,18 +112,18 @@ +@@ -111,19 +111,19 @@ + ctags $^ install: library - $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h +- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h - $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME) - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so ++ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h + $(INSTALL) -D $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME) -+ ln -s $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so ++ ln -s $(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so install-strip: library - $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h +- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h - $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME) - ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.so ++ $(INSTALL) -D http_parser.h $(DESTDIR)/$(INCLUDEDIR)/http_parser.h + $(INSTALL) -D -s $(SONAME) $(DESTDIR)/$(LIBDIR)/$(SONAME) -+ ln -s $(DESTDIR)/$(LIBDIR)/$(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so ++ ln -s $(SONAME) $(DESTDIR)/$(LIBDIR)/libhttp_parser.so uninstall: - rm $(INCLUDEDIR)/http_parser.h +- rm $(INCLUDEDIR)/http_parser.h - rm $(LIBDIR)/$(SONAME) - rm $(LIBDIR)/libhttp_parser.so ++ rm $(DESTDIR)/$(INCLUDEDIR)/http_parser.h + rm $(DESTDIR)/$(LIBDIR)/$(SONAME) + rm $(DESTDIR)/$(LIBDIR)/libhttp_parser.so diff --git a/srcpkgs/http-parser/template b/srcpkgs/http-parser/template index a22dbacd89..7388025c12 100644 --- a/srcpkgs/http-parser/template +++ b/srcpkgs/http-parser/template @@ -1,7 +1,7 @@ # Template file for 'http-parser' pkgname=http-parser version=2.5.0 -revision=1 +revision=2 build_style=gnu-makefile short_desc="HTTP request/response parser for c" maintainer="Enno Boland "