* [gentoo-commits] gentoo-x86 commit in dev-db/kyotocabinet/files: fix_rpath.patch remove_docinst.patch remove_ldconfig.patch
@ 2010-06-17 17:32 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2010-06-17 17:32 UTC (permalink / raw
To: gentoo-commits
patrick 10/06/17 17:32:13
Added: fix_rpath.patch remove_docinst.patch
remove_ldconfig.patch
Log:
Initial import. Ebuild by jbergstroem.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/kyotocabinet/files/fix_rpath.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/fix_rpath.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/fix_rpath.patch?rev=1.1&content-type=text/plain
Index: fix_rpath.patch
===================================================================
diff --git a/Makefile.in b/Makefile.in
index d2601ec..64c76c7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,8 +53,8 @@ CXXFLAGS = @MYCXXFLAGS@
LDFLAGS = @MYLDFLAGS@
CMDLDFLAGS = @MYCMDLDFLAGS@
LIBS = @LIBS@
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
+LDENV =
+RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR)
POSTCMD = @MYPOSTCMD@
diff --git a/configure.in b/configure.in
index 3ce09c1..ae00c62 100644
--- a/configure.in
+++ b/configure.in
@@ -32,27 +32,17 @@ MYDOCUMENTFILES="COPYING ChangeLog THANKS doc kyotocabinet.idl"
MYPCFILES="kyotocabinet.pc"
# Building flags
-MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -O2"
+MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char"
MYCXXFLAGS="-Wall -fPIC -fsigned-char -O2"
-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
+MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1"
MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__"
-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
+MYLDFLAGS="-L. -L\$(LIBDIR)"
MYCMDLDFLAGS=""
MYRUNPATH="\$(LIBDIR)"
MYLDLIBPATHENV="LD_LIBRARY_PATH"
MYPOSTCMD="true"
-# Building paths
-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
-CPATH="$HOME/include:/usr/local/include:$CPATH"
-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
-
-
#================================================================
# Options
diff --git a/kyotocabinet.pc.in b/kyotocabinet.pc.in
index d9b67f1..8ede1a9 100644
--- a/kyotocabinet.pc.in
+++ b/kyotocabinet.pc.in
@@ -10,5 +10,5 @@ datadir=@datadir@
Name: Kyoto Cabinet
Description: another modern implementation of DBM
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -ltokyocabinet @LIBS@
+Libs: -L${libdir} -ltokyocabinet
Cflags: -I${includedir}
1.1 dev-db/kyotocabinet/files/remove_docinst.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/remove_docinst.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/remove_docinst.patch?rev=1.1&content-type=text/plain
Index: remove_docinst.patch
===================================================================
diff --git a/Makefile.in b/Makefile.in
index a813215..eefa4eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -117,8 +117,6 @@ install :
cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR)
mkdir -p $(DESTDIR)$(BINDIR)
cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR)
- mkdir -p $(DESTDIR)$(DATADIR)
- cp -Rf $(DOCUMENTFILES) $(DESTDIR)$(DATADIR)
mkdir -p $(DESTDIR)$(MAN1DIR)
cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
mkdir -p $(DESTDIR)$(PCDIR)
1.1 dev-db/kyotocabinet/files/remove_ldconfig.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/remove_ldconfig.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/files/remove_ldconfig.patch?rev=1.1&content-type=text/plain
Index: remove_ldconfig.patch
===================================================================
diff --git a/Makefile.in b/Makefile.in
index 64c76c7..a813215 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -123,7 +123,6 @@ install :
cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
mkdir -p $(DESTDIR)$(PCDIR)
cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
- [ "$$UID" = 0 ] && ldconfig || true
@printf '\n'
@printf '#================================================================\n'
@printf '# Thanks for using Kyoto Cabinet.\n'
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-17 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 17:32 [gentoo-commits] gentoo-x86 commit in dev-db/kyotocabinet/files: fix_rpath.patch remove_docinst.patch remove_ldconfig.patch Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox