diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-01-15 00:01:58 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-01-15 00:01:58 +0000 |
commit | 3595bbbc5a6a10d5c2910d39a5a53704e6e2c172 (patch) | |
tree | b934c2ef0d8c04b9e485ca75f24911507ca0a597 /dev-db | |
parent | made dep on a monolithic kde-base package accept the equivalent -meta package... (diff) | |
download | gentoo-2-3595bbbc5a6a10d5c2910d39a5a53704e6e2c172.tar.gz gentoo-2-3595bbbc5a6a10d5c2910d39a5a53704e6e2c172.tar.bz2 gentoo-2-3595bbbc5a6a10d5c2910d39a5a53704e6e2c172.zip |
Remove some broken old versions, and stabilize .26 on x86. Add metadata.
(Portage version: 2.0.51-r12)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysql++/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/mysql++/files/digest-mysql++-1.7.9 | 2 | ||||
-rw-r--r-- | dev-db/mysql++/files/digest-mysql++-1.7.9-r1 | 3 | ||||
-rw-r--r-- | dev-db/mysql++/files/digest-mysql++-1.7.9-r2 | 6 | ||||
-rw-r--r-- | dev-db/mysql++/files/digest-mysql++-1.7.9-r5 | 6 | ||||
-rw-r--r-- | dev-db/mysql++/files/digest-mysql++-1.7.9-r6 | 6 | ||||
-rw-r--r-- | dev-db/mysql++/metadata.xml | 5 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.26.ebuild | 6 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.9-r1.ebuild | 76 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.9-r2.ebuild | 98 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.9-r5.ebuild | 106 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.9-r6.ebuild | 105 | ||||
-rw-r--r-- | dev-db/mysql++/mysql++-1.7.9.ebuild | 49 |
13 files changed, 14 insertions, 461 deletions
diff --git a/dev-db/mysql++/ChangeLog b/dev-db/mysql++/ChangeLog index f4d90a23d7ed..8c6c721533c9 100644 --- a/dev-db/mysql++/ChangeLog +++ b/dev-db/mysql++/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/mysql++ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.26 2005/01/10 21:16:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.27 2005/01/15 00:01:57 robbat2 Exp $ + + 14 Jan 2005; Robin H. Johnson <robbat2@gentoo.org> + -mysql++-1.7.9-r2.ebuild, -mysql++-1.7.9-r5.ebuild, + -mysql++-1.7.9-r6.ebuild, -mysql++-1.7.9.ebuild: + Remove some broken old versions, and stabilize .26 on x86. *mysql++-1.7.26 (10 Jan 2005) diff --git a/dev-db/mysql++/files/digest-mysql++-1.7.9 b/dev-db/mysql++/files/digest-mysql++-1.7.9 deleted file mode 100644 index 1a2a98d09837..000000000000 --- a/dev-db/mysql++/files/digest-mysql++-1.7.9 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1312fb4e33dcce07fac5fa9c2ac801f7 mysql++-1.7.9.tar.gz 749476 -MD5 118d30c7ffd7e5ad49b78415acaac0bb mysql++-gcc-3.0.patch.gz 21357 diff --git a/dev-db/mysql++/files/digest-mysql++-1.7.9-r1 b/dev-db/mysql++/files/digest-mysql++-1.7.9-r1 deleted file mode 100644 index 277270f70984..000000000000 --- a/dev-db/mysql++/files/digest-mysql++-1.7.9-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1312fb4e33dcce07fac5fa9c2ac801f7 mysql++-1.7.9.tar.gz 749476 -MD5 118d30c7ffd7e5ad49b78415acaac0bb mysql++-gcc-3.0.patch.gz 21357 -MD5 f7358e00675fde37caa7a4aa1baa48d1 mysql++-gcc-3.2.patch.gz 2451 diff --git a/dev-db/mysql++/files/digest-mysql++-1.7.9-r2 b/dev-db/mysql++/files/digest-mysql++-1.7.9-r2 deleted file mode 100644 index 350f469fb3e5..000000000000 --- a/dev-db/mysql++/files/digest-mysql++-1.7.9-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1312fb4e33dcce07fac5fa9c2ac801f7 mysql++-1.7.9.tar.gz 749476 -MD5 118d30c7ffd7e5ad49b78415acaac0bb mysql++-gcc-3.0.patch.gz 21357 -MD5 f7358e00675fde37caa7a4aa1baa48d1 mysql++-gcc-3.2.patch.gz 2451 -MD5 51ae8cfd340cdf4a2d08d04ee3e01296 mysql++-gcc-3.2.2.patch.gz 416 -MD5 c80d705e300b76ab07e10344eb8f19d3 patch_gcc_3.3.gz 19755 -MD5 de17e2c7f20b5bad69ea677ce614a1ca mysqlplus-gcc-3.4.patch.gz 3888 diff --git a/dev-db/mysql++/files/digest-mysql++-1.7.9-r5 b/dev-db/mysql++/files/digest-mysql++-1.7.9-r5 deleted file mode 100644 index 350f469fb3e5..000000000000 --- a/dev-db/mysql++/files/digest-mysql++-1.7.9-r5 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1312fb4e33dcce07fac5fa9c2ac801f7 mysql++-1.7.9.tar.gz 749476 -MD5 118d30c7ffd7e5ad49b78415acaac0bb mysql++-gcc-3.0.patch.gz 21357 -MD5 f7358e00675fde37caa7a4aa1baa48d1 mysql++-gcc-3.2.patch.gz 2451 -MD5 51ae8cfd340cdf4a2d08d04ee3e01296 mysql++-gcc-3.2.2.patch.gz 416 -MD5 c80d705e300b76ab07e10344eb8f19d3 patch_gcc_3.3.gz 19755 -MD5 de17e2c7f20b5bad69ea677ce614a1ca mysqlplus-gcc-3.4.patch.gz 3888 diff --git a/dev-db/mysql++/files/digest-mysql++-1.7.9-r6 b/dev-db/mysql++/files/digest-mysql++-1.7.9-r6 deleted file mode 100644 index 543695cd36bd..000000000000 --- a/dev-db/mysql++/files/digest-mysql++-1.7.9-r6 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 1312fb4e33dcce07fac5fa9c2ac801f7 mysql++-1.7.9.tar.gz 749476 -MD5 118d30c7ffd7e5ad49b78415acaac0bb mysql++-gcc-3.0.patch.gz 21357 -MD5 f7358e00675fde37caa7a4aa1baa48d1 mysql++-gcc-3.2.patch.gz 2451 -MD5 51ae8cfd340cdf4a2d08d04ee3e01296 mysql++-gcc-3.2.2.patch.gz 416 -MD5 c80d705e300b76ab07e10344eb8f19d3 patch_gcc_3.3.gz 19755 -MD5 d7598a799d4a2103f90795f11ab84cad mysqlplus-gcc-3.4.patch-try2.gz 3892 diff --git a/dev-db/mysql++/metadata.xml b/dev-db/mysql++/metadata.xml new file mode 100644 index 000000000000..dbfe84ca36cf --- /dev/null +++ b/dev-db/mysql++/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mysql-bugs</herd> +</pkgmetadata> diff --git a/dev-db/mysql++/mysql++-1.7.26.ebuild b/dev-db/mysql++/mysql++-1.7.26.ebuild index 680a18adefa5..85729f2cf9b0 100644 --- a/dev-db/mysql++/mysql++-1.7.26.ebuild +++ b/dev-db/mysql++/mysql++-1.7.26.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.26.ebuild,v 1.1 2005/01/10 21:16:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.26.ebuild,v 1.2 2005/01/15 00:01:57 robbat2 Exp $ inherit gcc eutils gnuconfig @@ -11,7 +11,7 @@ SRC_URI="http://www.tangentsoft.net/mysql++/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~x86 ~alpha ~hppa ~mips ~sparc ~ppc ~amd64" +KEYWORDS="x86 ~alpha ~hppa ~mips ~sparc ~ppc ~amd64" IUSE="" DEPEND=">=dev-db/mysql-4.0 @@ -33,7 +33,7 @@ src_compile() { myconf="${myconf} --includedir=/usr/include/mysql++" # not including the directives to where MySQL is because it seems to # find it just fine without - + # force the cflags into place otherwise they get totally ignored by # configure CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ diff --git a/dev-db/mysql++/mysql++-1.7.9-r1.ebuild b/dev-db/mysql++/mysql++-1.7.9-r1.ebuild deleted file mode 100644 index 5bd7d4412297..000000000000 --- a/dev-db/mysql++/mysql++-1.7.9-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.9-r1.ebuild,v 1.15 2005/01/01 17:37:25 eradicator Exp $ - -inherit gcc eutils - -DESCRIPTION="C++ API interface to the MySQL database" -# This is the download page but includes links to other places -HOMEPAGE="http://www.mysql.org/downloads/api-mysql++.html" -SRC_URI="http://mysql.he.net/Downloads/${PN}/${P}.tar.gz - http://mysql.adgrafix.com/Downloads/${PN}/${P}.tar.gz - http://mysql.fastmirror.com/Downloads/${PN}/${P}.tar.gz - http://mysql.oms-net.nl/Downloads/${PN}/${P}.tar.gz - mirror://gentoo/mysql++-gcc-3.0.patch.gz - mirror://gentoo/mysql++-gcc-3.2.patch.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="x86 ~alpha ~hppa ~mips ~sparc ppc" -IUSE="" - -DEPEND=">=dev-db/mysql-3.23.49" - -src_unpack() { - unpack ${A} - EPATCH_OPTS="-p1 -d ${S}" - if [ `gcc-major-version` -eq 3 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.0..." - epatch ${DISTDIR}/mysql++-gcc-3.0.patch.gz - EPATCH_SINGLE_MSG="Patching for gcc 3.2..." - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - EPATCH_SINGLE_MSG="Patching to fix some warnings and errors..." - epatch ${FILESDIR}/mysql++-1.7.9-gcc_throw.patch - EPATCH_SINGLE_MSG="Patch for const char* error" - epatch ${FILESDIR}/mysql++-1.7.9-mysql4-gcc3.patch - else - EPATCH_SINGLE_MSG="Patch for const char* error" - epatch ${FILESDIR}/mysql++-1.7.9-mysql4-gcc295.patch - fi - EPATCH_SINGLE_MSG="Fixing examples directory bug..." - epatch ${FILESDIR}/mysql++-1.7.9_example.patch -} - -src_compile() { - local myconf - # we want C++ exceptions turned on - myconf="--enable-exceptions" - # We do this because of the large number of header files installed to the include directory - # This is a breakage compared to previous versions that installed straight to /usr/include - myconf="${myconf} --includedir=/usr/include/mysql++" - # not including the directives to where MySQL is because it seems to find it - # just fine without - # force the cflags into place otherwise they get totally ignored by configure - CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS} ${CXXFLAGS}" \ - econf \ - --enable-exceptions \ - --includedir=/usr/include/mysql++ || die "econf failed" - - emake || die "unable to make" -} - -src_install() { - make DESTDIR=${D} install || die - # install the docs and HTML pages - dodoc README LGPL - dodoc doc/* - dohtml doc/man-html/* - prepalldocs - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} - -pkg_postinst() { - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} diff --git a/dev-db/mysql++/mysql++-1.7.9-r2.ebuild b/dev-db/mysql++/mysql++-1.7.9-r2.ebuild deleted file mode 100644 index 4a057f6c9226..000000000000 --- a/dev-db/mysql++/mysql++-1.7.9-r2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.9-r2.ebuild,v 1.10 2005/01/01 17:37:25 eradicator Exp $ - -inherit gcc eutils - -DESCRIPTION="C++ API interface to the MySQL database" -# This is the download page but includes links to other places -HOMEPAGE="http://www.mysql.org/downloads/api-mysql++.html" -SRC_URI_BASE="mirror://mysql/Downloads/${PN}" -SRC_URI=" - ${SRC_URI_BASE}/${P}.tar.gz - ${SRC_URI_BASE}/${PN}-gcc-3.0.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.2.patch.gz - ${SRC_URI_BASE}/patch_gcc_3.3.gz - ${SRC_URI_BASE}/mysqlplus-gcc-3.4.patch.gz - " - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="x86 ~alpha ~hppa ~mips ~sparc ppc" -IUSE="" - -DEPEND=">=dev-db/mysql-3.23.49" - -src_unpack() { - unpack ${P}.tar.gz - EPATCH_OPTS="-p1 -d ${S}" - if [ `gcc-major-version` -eq 3 ] ; then - if [ `gcc-minor-version` -ne 3 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.0..." \ - epatch ${DISTDIR}/mysql++-gcc-3.0.patch.gz - if [ `gcc-minor-version` -eq 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - if [ `gcc-micro-version` -ge 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc >=3.2.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.2.patch.gz - fi - elif [ `gcc-minor-version` -eq 4 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.4 (patch for 3.2 needed first)..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - EPATCH_SINGLE_MSG="Patching for gcc 3.4..." \ - epatch ${DISTDIR}/mysqlplus-gcc-3.4.patch.gz - fi - # Doesn't work for gcc-3.3 - EPATCH_SINGLE_MSG="Patching to fix some warnings and errors..." \ - epatch ${FILESDIR}/mysql++-1.7.9-gcc_throw.patch - # This is included in mysql++-gcc-3.2.2.patch.gz - #EPATCH_SINGLE_MSG="Patch for const char* error" \ - elif [ `gcc-minor-version` -eq 3 ] ; then - mv ${S}/sqlplusint/Makefile.in ${S}/sqlplusint/Makefile.in.old - EPATCH_SINGLE_MSG="Patching for gcc 3.3..." \ - epatch ${DISTDIR}/patch_gcc_3.3.gz - fi - #epatch ${FILESDIR}/mysql++-1.7.9-mysql4-gcc3.patch - else - EPATCH_SINGLE_MSG="Patch for const char* error" \ - epatch ${FILESDIR}/mysql++-1.7.9-mysql4-gcc295.patch - fi - EPATCH_SINGLE_MSG="Fixing examples directory bug..." \ - epatch ${FILESDIR}/mysql++-1.7.9_example.patch -} - -src_compile() { - local myconf - # we want C++ exceptions turned on - myconf="--enable-exceptions" - # We do this because of the large number of header files installed to the include directory - # This is a breakage compared to previous versions that installed straight to /usr/include - myconf="${myconf} --includedir=/usr/include/mysql++" - # not including the directives to where MySQL is because it seems to find it - # just fine without - # force the cflags into place otherwise they get totally ignored by configure - CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS} ${CXXFLAGS}" \ - econf \ - --enable-exceptions \ - --includedir=/usr/include/mysql++ || die "econf failed" - - emake || die "unable to make" -} - -src_install() { - make DESTDIR=${D} install || die - # install the docs and HTML pages - dodoc README LGPL - dodoc doc/* - dohtml doc/man-html/* - prepalldocs - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} - -pkg_postinst() { - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} diff --git a/dev-db/mysql++/mysql++-1.7.9-r5.ebuild b/dev-db/mysql++/mysql++-1.7.9-r5.ebuild deleted file mode 100644 index 4c4218a4c5ab..000000000000 --- a/dev-db/mysql++/mysql++-1.7.9-r5.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.9-r5.ebuild,v 1.5 2005/01/01 17:37:25 eradicator Exp $ - -inherit gcc eutils gnuconfig - -DESCRIPTION="C++ API interface to the MySQL database" -# This is the download page but includes links to other places -HOMEPAGE="http://www.mysql.org/downloads/api-mysql++.html" -SRC_URI_BASE="mirror://mysql/Downloads/${PN}" -SRC_URI=" - ${SRC_URI_BASE}/${P}.tar.gz - ${SRC_URI_BASE}/${PN}-gcc-3.0.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.2.patch.gz - ${SRC_URI_BASE}/patch_gcc_3.3.gz - ${SRC_URI_BASE}/mysqlplus-gcc-3.4.patch.gz - " - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~hppa ~mips ~sparc ~ppc ~amd64" -IUSE="" - -DEPEND=">=dev-db/mysql-3.23.49" - -src_unpack() { - unpack ${P}.tar.gz - EPATCH_OPTS="-p1 -d ${S}" - if [ `gcc-major-version` -eq 3 ] ; then - if [ `gcc-minor-version` -ne 3 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.0..." \ - epatch ${DISTDIR}/mysql++-gcc-3.0.patch.gz - if [ `gcc-minor-version` -eq 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - if [ `gcc-micro-version` -ge 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc >=3.2.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.2.patch.gz - fi - elif [ `gcc-minor-version` -eq 4 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.4 (patch for 3.2 needed first)..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - EPATCH_SINGLE_MSG="Patching for gcc 3.4..." \ - epatch ${DISTDIR}/mysqlplus-gcc-3.4.patch.gz - fi - # Doesn't work for gcc-3.3 - EPATCH_SINGLE_MSG="Patching to fix some warnings and errors..." \ - epatch ${FILESDIR}/${P}-gcc_throw.patch - # This is included in mysql++-gcc-3.2.2.patch.gz - #EPATCH_SINGLE_MSG="Patch for const char* error" \ - elif [ `gcc-minor-version` -eq 3 ]; then - mv ${S}/sqlplusint/Makefile.in ${S}/sqlplusint/Makefile.in.old - EPATCH_SINGLE_MSG="Patching for gcc 3.3..." \ - epatch ${DISTDIR}/patch_gcc_3.3.gz - if [ `gcc-micro-version` -eq 3 ]; then - EPATCH_SINGLE_MSG="Patching for gcc 3.3.3..." \ - epatch ${FILESDIR}/${P}-r5_gcc333.patch - fi - fi - #epatch ${FILESDIR}/${P}-mysql4-gcc3.patch - else - EPATCH_SINGLE_MSG="Patch for const char* error" \ - epatch ${FILESDIR}/${P}-mysql4-gcc295.patch - fi - EPATCH_SINGLE_MSG="Fixing examples directory bug..." \ - epatch ${FILESDIR}/${P}_example.patch - - # add undef_short to list of include files for installation - epatch ${FILESDIR}/${P}-missing.patch -} - -src_compile() { - gnuconfig_update - local myconf - # we want C++ exceptions turned on - myconf="--enable-exceptions" - # We do this because of the large number of header files installed to the include directory - # This is a breakage compared to previous versions that installed straight to /usr/include - myconf="${myconf} --includedir=/usr/include/mysql++" - # not including the directives to where MySQL is because it seems to find it - # just fine without - # force the cflags into place otherwise they get totally ignored by configure - CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS} ${CXXFLAGS}" \ - econf \ - --enable-exceptions \ - --includedir=/usr/include/mysql++ || die "econf failed" - - emake || die "unable to make" -} - -src_install() { - make DESTDIR=${D} install || die - # install the docs and HTML pages - dodoc README LGPL - dodoc doc/* - dohtml doc/man-html/* - prepalldocs - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} - -pkg_postinst() { - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} diff --git a/dev-db/mysql++/mysql++-1.7.9-r6.ebuild b/dev-db/mysql++/mysql++-1.7.9-r6.ebuild deleted file mode 100644 index dc5439c90f56..000000000000 --- a/dev-db/mysql++/mysql++-1.7.9-r6.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.9-r6.ebuild,v 1.5 2005/01/01 17:37:25 eradicator Exp $ - -inherit gcc eutils gnuconfig - -DESCRIPTION="C++ API interface to the MySQL database" -# This is the download page but includes links to other places -HOMEPAGE="http://www.mysql.org/downloads/api-mysql++.html" -SRC_URI_BASE="mirror://mysql/Downloads/${PN}" -SRC_URI=" - ${SRC_URI_BASE}/${P}.tar.gz - ${SRC_URI_BASE}/${PN}-gcc-3.0.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.patch.gz - ${SRC_URI_BASE}/${PN}-gcc-3.2.2.patch.gz - ${SRC_URI_BASE}/patch_gcc_3.3.gz - ${SRC_URI_BASE}/mysqlplus-gcc-3.4.patch-try2.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~hppa ~mips ~sparc ~ppc ~amd64" -IUSE="" - -DEPEND=">=dev-db/mysql-3.23.49" - -src_unpack() { - unpack ${P}.tar.gz - EPATCH_OPTS="-p1 -d ${S}" - if [ `gcc-major-version` -eq 3 ] ; then - if [ `gcc-minor-version` -ne 3 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.0..." \ - epatch ${DISTDIR}/mysql++-gcc-3.0.patch.gz - if [ `gcc-minor-version` -eq 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - if [ `gcc-micro-version` -ge 2 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc >=3.2.2..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.2.patch.gz - fi - elif [ `gcc-minor-version` -eq 4 ] ; then - EPATCH_SINGLE_MSG="Patching for gcc 3.4 (patch for 3.2 needed first)..." \ - epatch ${DISTDIR}/mysql++-gcc-3.2.patch.gz - EPATCH_SINGLE_MSG="Patching for gcc 3.4..." \ - epatch ${DISTDIR}/mysqlplus-gcc-3.4.patch-try2.gz - fi - # Doesn't work for gcc-3.3 - EPATCH_SINGLE_MSG="Patching to fix some warnings and errors..." \ - epatch ${FILESDIR}/${P}-gcc_throw.patch - # This is included in mysql++-gcc-3.2.2.patch.gz - #EPATCH_SINGLE_MSG="Patch for const char* error" \ - #epatch ${FILESDIR}/${P}-mysql4-gcc3.patch - elif [ `gcc-minor-version` -eq 3 ]; then - mv ${S}/sqlplusint/Makefile.in ${S}/sqlplusint/Makefile.in.old - EPATCH_SINGLE_MSG="Patching for gcc 3.3..." \ - epatch ${DISTDIR}/patch_gcc_3.3.gz - if [ `gcc-micro-version` -eq 3 ]; then - EPATCH_SINGLE_MSG="Patching for gcc 3.3.3..." \ - epatch ${FILESDIR}/${P}-r5_gcc333.patch - fi - fi - else - EPATCH_SINGLE_MSG="Patch for const char* error" \ - epatch ${FILESDIR}/${P}-mysql4-gcc295.patch - fi - EPATCH_SINGLE_MSG="Fixing examples directory bug..." \ - epatch ${FILESDIR}/${P}_example.patch - - # add undef_short to list of include files for installation - epatch ${FILESDIR}/${P}-missing.patch -} - -src_compile() { - gnuconfig_update - local myconf - # we want C++ exceptions turned on - myconf="--enable-exceptions" - # We do this because of the large number of header files installed to the include directory - # This is a breakage compared to previous versions that installed straight to /usr/include - myconf="${myconf} --includedir=/usr/include/mysql++" - # not including the directives to where MySQL is because it seems to find it - # just fine without - # force the cflags into place otherwise they get totally ignored by configure - CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS} ${CXXFLAGS}" \ - econf \ - --enable-exceptions \ - --includedir=/usr/include/mysql++ || die "econf failed" - - emake || die "unable to make" -} - -src_install() { - make DESTDIR=${D} install || die - # install the docs and HTML pages - dodoc README LGPL - dodoc doc/* - dohtml doc/man-html/* - prepalldocs - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} - -pkg_postinst() { - ewarn "The MySQL++ include directory has changed compared to previous versions" - ewarn "It was previously /usr/include, but now it is /usr/include/mysql++" -} diff --git a/dev-db/mysql++/mysql++-1.7.9.ebuild b/dev-db/mysql++/mysql++-1.7.9.ebuild deleted file mode 100644 index 028407c3d4d1..000000000000 --- a/dev-db/mysql++/mysql++-1.7.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-1.7.9.ebuild,v 1.15 2005/01/01 17:37:25 eradicator Exp $ - -inherit gcc eutils - -DESCRIPTION="C++ API interface to the MySQL database" -# This is the download page but includes links to other places -HOMEPAGE="http://www.mysql.org/downloads/api-mysql++.html" -SRC_URI="http://mysql.he.net/Downloads/${PN}/${P}.tar.gz - http://mysql.adgrafix.com/Downloads/${PN}/${P}.tar.gz - http://mysql.fastmirror.com/Downloads/${PN}/${P}.tar.gz - http://mysql.oms-net.nl/Downloads/${PN}/${P}.tar.gz - mirror://gentoo/mysql++-gcc-3.0.patch.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -# Depends on MySQL being installed, duh! :-) -DEPEND="<dev-db/mysql-4.0.0 - >=dev-db/mysql-3.23.49" - -src_compile() { - if [ `gcc-major-version` -eq 3 ] ; then - epatch ${DISTDIR}/mysql++-gcc-3.0.patch - epatch ${DISTDIR}/mysql++-gcc-3.2.patch - fi - epatch ${FILESDIR}/mysql++-1.7.9_example.patch - - # not including the directives to where MySQL is because it seems to find it - # just fine without - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --enable-exceptions \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man || die "./configure failed" - - emake || die "unable to make" -} - -src_install() { - make DESTDIR=${D} install || die - dodoc doc/* - dohtml doc/man-html/* -} |