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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Oct 13 21:37:43 2012 UTC (3 years, 9 months ago) by blueness
Branch: MAIN
Version bump

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 diff -Nuar curl-7.28.0.orig/curl-config.in curl-7.28.0/curl-config.in
2 --- curl-7.28.0.orig/curl-config.in 2012-08-08 17:38:25.000000000 -0400
3 +++ curl-7.28.0/curl-config.in 2012-10-13 17:11:30.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