Blame SOURCES/tokyocabinet-fedora.patch

0531e7
--- configure.in	2009-12-06 21:43:11.000000000 -0500
0531e7
+++ configure.in.new	2009-12-17 15:13:58.794592478 -0500
0531e7
@@ -31,26 +31,15 @@
0531e7
 MYPCFILES="tokyocabinet.pc"
0531e7
 
0531e7
 # Building flags
0531e7
-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
0531e7
-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
0531e7
+MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char"
0531e7
+MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
0531e7
 MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__"
0531e7
-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
0531e7
+MYLDFLAGS="-L. -L\$(LIBDIR)"
0531e7
 MYCMDLDFLAGS=""
0531e7
 MYRUNPATH="\$(LIBDIR)"
0531e7
 MYLDLIBPATHENV="LD_LIBRARY_PATH"
0531e7
 MYPOSTCMD="true"
0531e7
 
0531e7
-# Building paths
0531e7
-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
0531e7
-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
0531e7
-CPATH="$HOME/include:/usr/local/include:$CPATH"
0531e7
-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
0531e7
-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
0531e7
-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
0531e7
-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
0531e7
-
0531e7
-
0531e7
-
0531e7
 #================================================================
0531e7
 # Options
0531e7
 #================================================================
0531e7
--- Makefile.in	2009-10-13 08:33:20.000000000 -0400
0531e7
+++ Makefile.in.new	2009-12-17 15:15:07.257604314 -0500
0531e7
@@ -54,8 +54,8 @@
0531e7
 LDFLAGS = @MYLDFLAGS@
0531e7
 CMDLDFLAGS = @MYCMDLDFLAGS@
0531e7
 LIBS = @LIBS@
0531e7
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
0531e7
-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
0531e7
+LDENV = 
0531e7
+RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR)
0531e7
 POSTCMD = @MYPOSTCMD@
0531e7
 
0531e7
 
0531e7
--- tokyocabinet.pc.in	2008-02-18 02:25:18.000000000 -0500
0531e7
+++ tokyocabinet.pc.in.new	2009-12-17 15:15:29.626591709 -0500
0531e7
@@ -10,5 +10,5 @@
0531e7
 Name: Tokyo Cabinet
0531e7
 Description: a modern implementation of DBM
0531e7
 Version: @PACKAGE_VERSION@
0531e7
-Libs: -L${libdir} -ltokyocabinet @LIBS@
0531e7
+Libs: -L${libdir} -ltokyocabinet
0531e7
 Cflags: -I${includedir}