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