summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2006-01-24 22:10:44 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2006-01-24 22:10:44 +0000
commitd2363dbddaf35ddc5003e41ea995a02adae8dec1 (patch)
tree6f5641b036028ffdd3a7862726d66d0c9406ce25 /dev-db
parentadded ~amd64 (diff)
downloadhistorical-d2363dbddaf35ddc5003e41ea995a02adae8dec1.tar.gz
historical-d2363dbddaf35ddc5003e41ea995a02adae8dec1.tar.bz2
historical-d2363dbddaf35ddc5003e41ea995a02adae8dec1.zip
Firebird now uses user CFLAGS instead its own, bug #108275, thanks to vapier
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/firebird/ChangeLog8
-rw-r--r--dev-db/firebird/Manifest15
-rw-r--r--dev-db/firebird/files/firebird-1.5.2-build.patch50
-rw-r--r--dev-db/firebird/firebird-1.5.2.ebuild11
4 files changed, 78 insertions, 6 deletions
diff --git a/dev-db/firebird/ChangeLog b/dev-db/firebird/ChangeLog
index 42b8d8dd57e8..533f030cb198 100644
--- a/dev-db/firebird/ChangeLog
+++ b/dev-db/firebird/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/firebird
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.35 2005/12/30 23:48:35 carlo Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.36 2006/01/24 22:10:44 sekretarz Exp $
+
+ 24 Jan 2006; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/firebird-1.5.2-build.patch, firebird-1.5.2.ebuild:
+ Firebird now uses user CFLAGS instead its own, bug #108275, thanks to vapier
30 Dec 2005; Carsten Lohrke <carlo@gentoo.org> firebird-1.5.1.ebuild,
firebird-1.5.2.ebuild:
diff --git a/dev-db/firebird/Manifest b/dev-db/firebird/Manifest
index 5e02e8a34cfd..9d46c8d39b6f 100644
--- a/dev-db/firebird/Manifest
+++ b/dev-db/firebird/Manifest
@@ -1,13 +1,24 @@
-MD5 5103ae82bc926213d27a29d00d8d82c5 ChangeLog 5170
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 ab8d5674bb1dcd697a893f8c88ce45fa ChangeLog 5368
MD5 d3278f869be37481ddde143f5ee98c4a files/70firebird 50
MD5 d3278f869be37481ddde143f5ee98c4a files/70firebird-1.5.0 50
MD5 606e690fe61535cc02d7314616e263fb files/digest-firebird-1.5.1 73
MD5 9019505bedbd32c5cec6700c075f3872 files/digest-firebird-1.5.2 73
MD5 5b28cc81eff2c59fbee652dc2c6ed483 files/firebird-1.5.0.xinetd 425
MD5 5bc644b4558c11069e2a946e029d70bb files/firebird-1.5.1-gcc34.patch 5906
+MD5 51a8d891eaaaf720cf57d3d1686735f1 files/firebird-1.5.2-build.patch 2125
MD5 c5f5e6bae2cae891269931331e69f1ca files/firebird.conf.d 80
MD5 19238be258dea758cf3f082df5ae813a files/firebird.init.d 697
MD5 b0d6de21d0e14d41983d440d5675e9d5 files/firebird.xinetd 206
MD5 667b422797ea74ed41b2c5bf70059b02 firebird-1.5.1.ebuild 6498
-MD5 a984585b2d2c86d08259c74fe1e29d5e firebird-1.5.2.ebuild 6422
+MD5 b99ac816865555c28614427f18350d26 firebird-1.5.2.ebuild 6504
MD5 70eaf71c2018b87fe06aed9df3799509 metadata.xml 225
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFD1rR2ub4+zaPCR/oRAviwAJ9vTUCNnO4rFiSfnrOQ7xTAP23wNgCeJkGn
+hgdgM6CkQMsUR695isZ9z44=
+=8kqi
+-----END PGP SIGNATURE-----
diff --git a/dev-db/firebird/files/firebird-1.5.2-build.patch b/dev-db/firebird/files/firebird-1.5.2-build.patch
new file mode 100644
index 000000000000..5e0ae7305586
--- /dev/null
+++ b/dev-db/firebird/files/firebird-1.5.2-build.patch
@@ -0,0 +1,50 @@
+--- configure.in
++++ configure.in
+@@ -386,7 +386,7 @@
+ AC_CHECK_LIB(c,main)
+ AC_CHECK_LIB(m, main)
+ AC_CHECK_LIB(crypt, main)
+-AC_CHECK_LIB(curses, main)
++AC_CHECK_LIB(ncurses, main)
+ dnl AC_CHECK_LIB(termcap, main)
+ if test "$EDITLINE_FLG" = "Y"; then
+ AC_SUBST(EDITLINE_A, -leditline)
+--- builds/posix/prefix.linux
++++ builds/posix/prefix.linux
+@@ -22,8 +22,8 @@
+
+ # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion
+ # you may remove it if engine is getting compiled with any other GCC version
+-PROD_FLAGS=-ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC
+-DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch
++PROD_FLAGS=-fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC
++DEV_FLAGS=-DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch
+
+ OS_ServerFiles=inet_server.cpp
+
+--- builds/posix/prefix.linux_amd64
++++ builds/posix/prefix.linux_amd64
+@@ -20,8 +20,8 @@
+
+ LD=@CXX@
+
+-PROD_FLAGS=-ggdb -O3 -fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0
+-DEV_FLAGS=-ggdb -DLINUX -DAMD64 -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0
++PROD_FLAGS=-fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -MMD -fPIC -fmessage-length=0
++DEV_FLAGS=-DLINUX -DAMD64 -MMD -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0
+
+ OS_ServerFiles=inet_server.cpp
+
+--- builds/posix/prefix.linux_sparc32
++++ builds/posix/prefix.linux_sparc32
+@@ -22,8 +22,8 @@
+
+ # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion
+ # you may remove it if engine is getting compiled with any other GCC version
+-PROD_FLAGS=-m32 -mcpu=ultrasparc -mtune=ultrasparc -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -Dsparc
+-DEV_FLAGS=-ggdb -m32 -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch -Dsparc
++PROD_FLAGS=-DNDEBUG -DLINUX -MMD -fPIC -Dsparc
++DEV_FLAGS=--DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch -Dsparc
+
+ OS_ServerFiles=inet_server.cpp
+
diff --git a/dev-db/firebird/firebird-1.5.2.ebuild b/dev-db/firebird/firebird-1.5.2.ebuild
index 4217effd7444..f44783d99288 100644
--- a/dev-db/firebird/firebird-1.5.2.ebuild
+++ b/dev-db/firebird/firebird-1.5.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.5.2.ebuild,v 1.6 2005/12/30 23:48:35 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.5.2.ebuild,v 1.7 2006/01/24 22:10:44 sekretarz Exp $
inherit flag-o-matic eutils
@@ -25,6 +25,13 @@ pkg_setup() {
enewuser firebird 450 /bin/bash /opt/firebird firebird
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-build.patch
+}
+
src_compile() {
# fix bug #33584
#strip-flags -funroll-loops