Added to ~amd64, bug #70459
authorKarol Wojtaszek <sekretarz@gentoo.org>
Sun, 21 Nov 2004 22:27:10 +0000 (22:27 +0000)
committerKarol Wojtaszek <sekretarz@gentoo.org>
Sun, 21 Nov 2004 22:27:10 +0000 (22:27 +0000)
dev-db/hk_classes/ChangeLog
dev-db/hk_classes/Manifest
dev-db/hk_classes/files/hk_classes-amd64.patch [new file with mode: 0644]
dev-db/hk_classes/hk_classes-0.7.1.ebuild
dev-db/hk_classes/hk_classes-0.7.2_alpha3.ebuild

index bbaf560604b3ffc98680b2fa9c4656475c8a684a..156fcec0cd57b652bd28c063ab157fc4438630d7 100644 (file)
@@ -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)
 
index 8d417512907dfbf8b49ab50922144b2b673f6a5a..4921a6204820cf155b2f558ebbd5df71077f1917 100644 (file)
@@ -1,10 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 d3f84e0d788c00d119bd13c3ae90713e hk_classes-0.6.2a.ebuild 1645
-MD5 2fd2058e28f3f18b497c4e3ab5cca9c2 hk_classes-0.7.1.ebuild 1046
+MD5 54f2c5e92416e32c4ede87aa21747cab hk_classes-0.7.1.ebuild 1152
 MD5 f2adc94bb9ed47a2bae3e1f714d01dac hk_classes-0.7.ebuild 1101
-MD5 76c707a9ec14a0e2b63892ac7c0b8c93 hk_classes-0.7.2_alpha3.ebuild 1102
-MD5 615bc4236693cdf2eee42019c45aaa1f ChangeLog 3619
+MD5 8abbef517100a7e42477c651f0499103 hk_classes-0.7.2_alpha3.ebuild 1208
+MD5 de2609485b3f9456078f86b37efd195e ChangeLog 3800
 MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
 MD5 85913ee0452ca03c30bc07640aa4926e files/digest-hk_classes-0.7.1 198
 MD5 34ec65c6c8215f9ec85c326bfe93efd2 files/digest-hk_classes-0.7.2_alpha3 204
 MD5 567cad53853adfda1ae7f205966523a8 files/digest-hk_classes-0.6.2a 198
+MD5 3986d92d3fe87dfac8646b3527e465cb files/hk_classes-amd64.patch 2569
 MD5 63250076b187f1feb6dd60af946bf54b files/digest-hk_classes-0.7 196
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBoRZJZ/iYVBmujdURAvxeAKDtQIOMFFI+hvMh8rRZu4TDuyItUwCdES3C
+czoYxDaKpG+44sLGQZX3qlM=
+=sLRe
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..1bb5ce9
--- /dev/null
@@ -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
+ 
index fe23433c5171494cb750b9234728665d697dfc45..697c6416d9877b4806735bcb16ad6d2e62e5727d 100644 (file)
@@ -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
index 52b6a4d4079cee6f3b2e133539a3c1efe6e459f0..1a53ebf14b16dfcb8f5d7e7a5fd610008dff339b 100644 (file)
@@ -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