summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-11-21 22:27:10 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-11-21 22:27:10 +0000
commit57872c776250e8a7738559f8b23968ab975ce776 (patch)
tree75b52b04d0cb5842ab1bfe1b2ca8b1b9830e418a /dev-db/hk_classes
parentchoose a better DESCRIPTION (Manifest recommit) (diff)
downloadgentoo-2-57872c776250e8a7738559f8b23968ab975ce776.tar.gz
gentoo-2-57872c776250e8a7738559f8b23968ab975ce776.tar.bz2
gentoo-2-57872c776250e8a7738559f8b23968ab975ce776.zip
Added to ~amd64, bug #70459
Diffstat (limited to 'dev-db/hk_classes')
-rw-r--r--dev-db/hk_classes/ChangeLog7
-rw-r--r--dev-db/hk_classes/files/hk_classes-amd64.patch58
-rw-r--r--dev-db/hk_classes/hk_classes-0.7.1.ebuild13
-rw-r--r--dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild13
4 files changed, 86 insertions, 5 deletions
diff --git a/dev-db/hk_classes/ChangeLog b/dev-db/hk_classes/ChangeLog
index bbaf560604b3..156fcec0cd57 100644
--- a/dev-db/hk_classes/ChangeLog
+++ b/dev-db/hk_classes/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/hk_classes
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.23 2004/11/08 22:26:27 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.24 2004/11/21 22:27:10 sekretarz Exp $
+
+ 21 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/hk_classes-amd64.patch, hk_classes-0.7.1.ebuild,
+ hk_classes-0.7.2_alpha3.ebuild:
+ Added to ~amd64, bug #70459
*hk_classes-0.7.2_alpha3 (08 Nov 2004)
diff --git a/dev-db/hk_classes/files/hk_classes-amd64.patch b/dev-db/hk_classes/files/hk_classes-amd64.patch
new file mode 100644
index 000000000000..1bb5ce9ab388
--- /dev/null
+++ b/dev-db/hk_classes/files/hk_classes-amd64.patch
@@ -0,0 +1,58 @@
+diff -Naur hk_classes-0.7.orig/hk_classes/Makefile.am hk_classes-0.7/hk_classes/Makefile.am
+--- hk_classes-0.7.orig/hk_classes/Makefile.am 2004-06-20 15:48:48.000000000 +0200
++++ hk_classes-0.7/hk_classes/Makefile.am 2004-11-21 23:10:13.670882088 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@
+ includedir=@HK_CLASSESINCDIR@
+ libhk_classes_la_LDFLAGS = -version-info 6:0:0 @LTLIBICONV@
+-AM_CXXFLAGS= -Wall @PYTHONINC@
++AM_CXXFLAGS= -Wall @PYTHONINC@ -fPIC
+
+ SUBDIRS = .
+
+diff -Naur hk_classes-0.7.orig/hk_mysqlclasses/Makefile.am hk_classes-0.7/hk_mysqlclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_mysqlclasses/Makefile.am 2003-05-22 20:27:14.000000000 +0200
++++ hk_classes-0.7/hk_mysqlclasses/Makefile.am 2004-11-21 23:10:19.127052624 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@MYSQLINCDIR@
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_mysqldriver_la_LDFLAGS = -version-info 3:4:0 -lmysqlclient -L../hk_classes -L@MYSQLLIBDIR@ -lhk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_odbcclasses/Makefile.am hk_classes-0.7/hk_odbcclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_odbcclasses/Makefile.am 2003-05-22 20:27:14.000000000 +0200
++++ hk_classes-0.7/hk_odbcclasses/Makefile.am 2004-11-21 23:10:24.672209632 +0100
+@@ -1,6 +1,6 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@ODBCINCDIR@
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_odbcdriver_la_LDFLAGS = -version-info 0:0:0 -l@ODBCLIBRARY@ -L@ODBCLIBDIR@ -lhk_classes -L../hk_classes
+
+diff -Naur hk_classes-0.7.orig/hk_postgresclasses/Makefile.am hk_classes-0.7/hk_postgresclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_postgresclasses/Makefile.am 2003-05-22 20:27:11.000000000 +0200
++++ hk_classes-0.7/hk_postgresclasses/Makefile.am 2004-11-21 23:11:02.304488656 +0100
+@@ -1,6 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@POSTGRESINCDIR@
+
++AM_CXXFLAGS= -fPIC
+
+ libhk_postgresdriver_la_LDFLAGS = -version-info 0:1:0 -lpq -lhk_classes -L../hk_classes -L@POSTGRESLIBDIR@
+
+diff -Naur hk_classes-0.7.orig/hk_sqliteclasses/Makefile.am hk_classes-0.7/hk_sqliteclasses/Makefile.am
+--- hk_classes-0.7.orig/hk_sqliteclasses/Makefile.am 2004-07-11 10:04:53.000000000 +0200
++++ hk_classes-0.7/hk_sqliteclasses/Makefile.am 2004-11-21 23:11:09.117452928 +0100
+@@ -1,7 +1,7 @@
+ libdir=@HK_CLASSESDIR@/drivers
+ INCLUDES= -I../hk_classes -I@SQLITEINCDIR@
+
+-AM_CXXFLAGS= -Wall
++AM_CXXFLAGS= -Wall -fPIC
+
+ libhk_sqlite2driver_la_LDFLAGS = -version-info 0:0:0 -lsqlite -L../hk_classes -L@SQLITELIBDIR@ -lhk_classes
+
diff --git a/dev-db/hk_classes/hk_classes-0.7.1.ebuild b/dev-db/hk_classes/hk_classes-0.7.1.ebuild
index fe23433c5171..697c6416d987 100644
--- a/dev-db/hk_classes/hk_classes-0.7.1.ebuild
+++ b/dev-db/hk_classes/hk_classes-0.7.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.1.ebuild,v 1.1 2004/09/20 02:50:28 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.1.ebuild,v 1.2 2004/11/21 22:27:10 sekretarz Exp $
+
+inherit eutils
P_DOCS="hk_docs-0.7"
@@ -12,7 +14,7 @@ SRC_URI="mirror://sourceforge/hk-classes/${P}.tar.bz2
SLOT="0"
LICENSE="LGPL-2"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~x86 ~ppc ~amd64"
IUSE="mysql postgres sqlite odbc doc"
# At least one of the following is required
@@ -21,6 +23,13 @@ DEPEND="mysql? ( >=dev-db/mysql-3.23.54a )
sqlite? ( =dev-db/sqlite-2* )
odbc? ( >=dev-db/unixODBC-2.0.6 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-amd64.patch
+}
+
src_compile() {
econf || die "econf failed"
emake || die
diff --git a/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild b/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild
index 52b6a4d4079c..1a53ebf14b16 100644
--- a/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild
+++ b/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild,v 1.1 2004/11/08 22:26:27 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild,v 1.2 2004/11/21 22:27:10 sekretarz Exp $
+
+inherit eutils
P_DOCS="hk_docs-0.7"
@@ -15,7 +17,7 @@ SRC_URI="mirror://sourceforge/hk-classes/${MY_P}.tar.bz2
SLOT="0"
LICENSE="LGPL-2"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~x86 ~ppc ~amd64"
IUSE="mysql postgres sqlite odbc doc"
# At least one of the following is required
@@ -24,6 +26,13 @@ DEPEND="mysql? ( >=dev-db/mysql-3.23.54a )
sqlite? ( >=dev-db/sqlite-2* )
odbc? ( >=dev-db/unixODBC-2.0.6 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-amd64.patch
+}
+
src_compile() {
econf || die "econf failed"
emake || die