summaryrefslogtreecommitdiff
path: root/databases/clip/files/patch-clip_configure
diff options
context:
space:
mode:
Diffstat (limited to 'databases/clip/files/patch-clip_configure')
-rw-r--r--databases/clip/files/patch-clip_configure29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/clip/files/patch-clip_configure b/databases/clip/files/patch-clip_configure
new file mode 100644
index 000000000000..e217e3525c72
--- /dev/null
+++ b/databases/clip/files/patch-clip_configure
@@ -0,0 +1,29 @@
+--- clip/configure.orig Thu Aug 25 10:36:33 2005
++++ clip/configure Sun Apr 16 11:12:21 2006
+@@ -181,7 +181,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 $DEBUGFLAGS $OPTFLAGS -O0"
+ ADD_CFLAGS="-fPIC"
+
+ uname=`uname -s`
+@@ -509,7 +509,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
+@@ -651,7 +651,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