Blame SOURCES/tokyocabinet-fedora.patch

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