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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Jul 1 20:46:54 2010 UTC (4 years, 4 months ago) by darkside
Branch: MAIN
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
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 darkside 1.1 --- curl-config.in.orig 2008-10-10 13:43:19.000000000 +0200
2     +++ curl-config.in 2008-10-10 13:43:56.000000000 +0200
3     @@ -181,7 +181,7 @@
4     ;;
5    
6     --cflags)
7     - if test "X@includedir@" = "X/usr/include"; then
8     + if test "X@includedir@" = "X@GENTOO_PORTAGE_EPREFIX@/usr/include"; then
9     echo ""
10     else
11     echo "-I@includedir@"
12     @@ -189,7 +189,7 @@
13     ;;
14    
15     --libs)
16     - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
17     + if test "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib" -a "X@libdir@" != "X@GENTOO_PORTAGE_EPREFIX@/usr/lib64"; then
18     CURLLIBDIR="-L@libdir@ "
19     else
20     CURLLIBDIR=""

  ViewVC Help
Powered by ViewVC 1.1.20