/[gentoo-x86]/net-misc/curl/files/curl-7.27.0-prefix.patch
Gentoo

Contents of /net-misc/curl/files/curl-7.27.0-prefix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jul 31 21:14:35 2012 UTC (2 years, 7 months ago) by blueness
Branch: MAIN
Changes since 1.2: +2 -2 lines
Fix bug #429100

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 diff -Naur curl-7.27.0.orig//curl-config.in curl-7.27.0/curl-config.in
2 --- curl-7.27.0.orig//curl-config.in 2012-05-25 17:56:17.000000000 -0400
3 +++ curl-7.27.0/curl-config.in 2012-07-29 06:47:37.000000000 -0400
4 @@ -134,7 +134,7 @@
5 else
6 CPPFLAG_CURL_STATICLIB=""
7 fi
8 - if test "X@includedir@" = "X/usr/include"; then
9 + if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
10 echo "${CPPFLAG_CURL_STATICLIB}"
11 else
12 echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
13 @@ -142,7 +142,7 @@
14 ;;
15
16 --libs)
17 - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
18 + if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
19 CURLLIBDIR="-L@libdir@ "
20 else
21 CURLLIBDIR=""

  ViewVC Help
Powered by ViewVC 1.1.20