From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/curl/files: curl-7.27.0-prefix.patch |
Date: | Sun, 29 Jul 2012 14:46:19 |
Message-Id: | 20120729144604.249262004C@flycatcher.gentoo.org |
1 | blueness 12/07/29 14:46:04 |
2 | |
3 | Added: curl-7.27.0-prefix.patch |
4 | Log: |
5 | Version bump, add metalink and rtmp support, bugs #423303, #428446 |
6 | |
7 | (Portage version: 2.1.10.65/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/curl/files/curl-7.27.0-prefix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.27.0-prefix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.27.0-prefix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: curl-7.27.0-prefix.patch |
16 | =================================================================== |
17 | diff -Naur curl-7.27.0.orig//curl-config.in curl-7.27.0/curl-config.in |
18 | --- curl-7.27.0.orig//curl-config.in 2012-05-25 17:56:17.000000000 -0400 |
19 | +++ curl-7.27.0/curl-config.in 2012-07-29 06:47:37.000000000 -0400 |
20 | @@ -134,7 +134,7 @@ |
21 | else |
22 | CPPFLAG_CURL_STATICLIB="" |
23 | fi |
24 | - if test "X@includedir@" = "X/usr/include"; then |
25 | + if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then |
26 | echo "$(CPPFLAG_CURL_STATICLIB)" |
27 | else |
28 | echo "$(CPPFLAG_CURL_STATICLIB)-I@includedir@" |
29 | @@ -142,7 +142,8 @@ |
30 | ;; |
31 | |
32 | --libs) |
33 | - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then |
34 | + if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; t |
35 | +hen |
36 | CURLLIBDIR="-L@libdir@ " |
37 | else |
38 | CURLLIBDIR="" |