summaryrefslogtreecommitdiffstats
path: root/net/ndyndns/patches/010-dont-add-host-includes.patch
blob: a28dc4ae61a799fc38f0cb9ba626013f113ff38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -urN ndyndns-2.1.orig/configure ndyndns-2.1/configure
--- ndyndns-2.1.orig/configure	2010-07-17 13:22:39.000000000 +0200
+++ ndyndns-2.1/configure	2011-01-26 16:24:15.834445729 +0100
@@ -3318,7 +3318,7 @@
 fi
 
 
-CURLINC=-I`curl-config --prefix`/include
+CURLINC=-I`curl-config --cflags`
 
 CURLLIB=`curl-config --libs`
 
diff -urN ndyndns-2.1.orig/configure.in ndyndns-2.1/configure.in
--- ndyndns-2.1.orig/configure.in	2010-07-17 13:22:11.000000000 +0200
+++ ndyndns-2.1/configure.in	2011-01-26 16:24:14.090441650 +0100
@@ -24,7 +24,7 @@
 fi
 AC_SUBST(PLATFORM)
 
-CURLINC=-I`curl-config --prefix`/include
+CURLINC=-I`curl-config --cflags`
 AC_SUBST(CURLINC)
 CURLLIB=`curl-config --libs`
 AC_SUBST(CURLLIB)