Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl/files: curl-7.18.2-prefix.patch
Date: Thu, 01 Jul 2010 20:47:07
Message-Id: 20100701204654.9D2DF2CE15@corvid.gentoo.org
1 darkside 10/07/01 20:46:54
2
3 Added: curl-7.18.2-prefix.patch
4 Log:
5 Add modifications for Gentoo Prefix as tested in the Gentoo Prefix overlay. Add keywords, add EPREFIX/ED, add patch for prefix offset instead of hardcoded paths. Approved by spatz
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/curl/files/curl-7.18.2-prefix.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.18.2-prefix.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/files/curl-7.18.2-prefix.patch?rev=1.1&content-type=text/plain
13
14 Index: curl-7.18.2-prefix.patch
15 ===================================================================
16 --- curl-config.in.orig 2008-10-10 13:43:19.000000000 +0200
17 +++ curl-config.in 2008-10-10 13:43:56.000000000 +0200
18 @@ -181,7 +181,7 @@
19 ;;
20
21 --cflags)
22 - if test "X@includedir@" = "X/usr/include"; then
23 + if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
24 echo ""
25 else
26 echo "-I@includedir@"
27 @@ -189,7 +189,7 @@
28 ;;
29
30 --libs)
31 - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
32 + if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
33 CURLLIBDIR="-L@libdir@ "
34 else
35 CURLLIBDIR=""