diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 05:47:47 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 05:47:47 +0000 |
commit | 0f46269c239af91d6703966e3a08b2dac537d708 (patch) | |
tree | 4ea21309231193d3e1c8bcc78ef28d9ec702aad8 /dev-cpp/libpqpp | |
parent | Added to ~amd64 (Manifest recommit) (diff) | |
download | gentoo-2-0f46269c239af91d6703966e3a08b2dac537d708.tar.gz gentoo-2-0f46269c239af91d6703966e3a08b2dac537d708.tar.bz2 gentoo-2-0f46269c239af91d6703966e3a08b2dac537d708.zip |
Added PIC patch. Added to ~sparc and ~amd64
Diffstat (limited to 'dev-cpp/libpqpp')
-rw-r--r-- | dev-cpp/libpqpp/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/libpqpp/files/libpqpp-4.0-PIC.patch | 21 | ||||
-rw-r--r-- | dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild | 5 |
3 files changed, 29 insertions, 3 deletions
diff --git a/dev-cpp/libpqpp/ChangeLog b/dev-cpp/libpqpp/ChangeLog index d9a26e28cb53..563746fa8c49 100644 --- a/dev-cpp/libpqpp/ChangeLog +++ b/dev-cpp/libpqpp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/libpqpp # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.8 2004/06/29 14:58:06 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.9 2004/07/13 05:47:47 eradicator Exp $ + + 12 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/libpqpp-4.0-PIC.patch: + Added PIC patch. Added to ~sparc and ~amd64 29 Jun 2004; Aron Griffis <agriffis@gentoo.org> libpqpp-4.0-r1.ebuild, libpqpp-4.0-r2.ebuild, libpqpp-4.0-r3.ebuild, libpqpp-4.0-r4.ebuild: diff --git a/dev-cpp/libpqpp/files/libpqpp-4.0-PIC.patch b/dev-cpp/libpqpp/files/libpqpp-4.0-PIC.patch new file mode 100644 index 000000000000..173796869be6 --- /dev/null +++ b/dev-cpp/libpqpp/files/libpqpp-4.0-PIC.patch @@ -0,0 +1,21 @@ +diff -Naur libpq++-4.0.orig/Makefile libpq++-4.0/Makefile +--- libpq++-4.0.orig/Makefile 2002-11-26 20:46:08.000000000 -0800 ++++ libpq++-4.0/Makefile 2004-07-12 22:42:41.293567000 -0700 +@@ -20,7 +20,7 @@ + OBJS= pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o + LIBPGXXHEADERS = pgconnection.h pgdatabase.h pgtransdb.h pgcursordb.h pglobject.h + +-SHARED= -fpic -shared -Wl,-x,-soname,$(TARGET).so.$(SO_MAJOR_VERSION) -Wl,-rpath,$(POSTGRES_HOME)/lib ++SHARED= -fPIC -shared -Wl,-x,-soname,$(TARGET).so.$(SO_MAJOR_VERSION) -Wl,-rpath,$(POSTGRES_HOME)/lib + soname=$(TARGET).so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + + all: $(soname) +@@ -29,7 +29,7 @@ + $(CXX) $(CXXFLAGS) $(OBJS) -L$(POSTGRES_HOME)/lib -l$(LIBS) $(SHARED) -o $(soname) + + %.o : %.cc +- $(CXX) -c $(CXXFLAGS) $(CXXOPTS) -I$(POSTGRES_HOME)/include $< ++ $(CXX) -c $(CXXFLAGS) $(CXXOPTS) -I$(POSTGRES_HOME)/include $< -fPIC -DPIC + + clean: + rm -f $(OBJS) $(soname) diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild index 0ac40cfac76b..9f4085d41bfb 100644 --- a/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild +++ b/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild,v 1.6 2004/06/29 14:58:06 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r4.ebuild,v 1.7 2004/07/13 05:47:47 eradicator Exp $ inherit eutils IUSE="" @@ -10,7 +10,7 @@ HOMEPAGE="http://gborg.postgresql.org/" SRC_URI="ftp://gborg.postgresql.org/pub/libpqpp/stable/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~amd64 ~sparc" DEPEND="virtual/libc >=dev-db/postgresql-7.3 >=sys-apps/sed-4" @@ -21,6 +21,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-gentoo.patch + epatch ${FILESDIR}/${P}-PIC.patch } src_compile() { |