media-video/peek: depend on ffmpeg[vpx]
[gentoo.git] / net-libs / http-parser / files / 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch
1 From f45b38c42e7e92a5d0215c44dcf306616536011e Mon Sep 17 00:00:00 2001
2 From: hasufell <hasufell@hasufell.de>
3 Date: Mon, 2 Nov 2015 16:32:11 +0100
4 Subject: [PATCH 3/4] makefile: fix SONAME symlink, it should not be a full
5  path
6
7 The symlink destination being a full path doesn't give any benefit and
8 may break a few use cases of copying these files to a different
9 destination, while preserving the symlink.
10 ---
11  Makefile | 4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/Makefile b/Makefile
15 index 8c4a9d7..cbe93e8 100644
16 --- a/Makefile
17 +++ b/Makefile
18 @@ -125,12 +125,12 @@ tags: http_parser.c http_parser.h test.c
19  install: library
20         $(INSTALL) -D  http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
21         $(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
22 -       ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
23 +       ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
24  
25  install-strip: library
26         $(INSTALL) -D  http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
27         $(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
28 -       ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
29 +       ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
30  
31  uninstall:
32         rm "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
33 -- 
34 2.6.1
35