aboutsummaryrefslogblamecommitdiff
path: root/databases/clip/files/patch-clip::configure
blob: 14c570a53ac86724ca0c5bb81eac4104282340a7 (plain) (tree)
1
2
3
4
5
6
7
8


                                                


                                                 

                                                                          


                 
                   







                                                                                            
                   







                                                                 
--- clip/configure.orig	Wed Apr 14 10:39:50 2004
+++ clip/configure	Tue Jun 29 11:24:45 2004
@@ -177,7 +177,7 @@
 #	initial CFLAGS
 #
 #C_FLAGS="-Wall -I. $DEBUGFLAGS $OPTFLAGS $MDBG"
-C_FLAGS="-Wall -I. -I./include $DEBUGFLAGS $OPTFLAGS -O0"
+C_FLAGS="-Wall -I. -I./include -I/usr/local/include -L/usr/local/lib -O0"
 
 uname=`uname -s`
 uver=`uname -r`
@@ -500,7 +500,7 @@
 #include <iconv.h>
 int main(int argc, char **argv) { iconv_t it; it = iconv_open("utf-8", "utf-8"); return 0;}
 ' > /tmp/$$.c
-$CC -o /tmp/$$ /tmp/$$.c -liconv 2>/dev/null 1>&2
+$CC -o /tmp/$$ /tmp/$$.c -I/usr/local/include -L/usr/local/lib -liconv 2>/dev/null 1>&2
 if [ $? = 0 ]
 then
 	echo 'ICONV_LIB=-liconv' >&3
@@ -641,7 +641,7 @@
 else
 	if [ -f /usr/local/bin/wget ]
 	then
-		echo '#define WGET_PRG "/usr/local/bin"' >&3
+		echo '#define WGET_PRG "/usr/local/bin/wget"' >&3
 	else
 		echo 'Warning: system does not have program WGET'
 	fi