summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-07-14 14:01:00 +0000
committerTravis Tilley <lv@gentoo.org>2004-07-14 14:01:00 +0000
commit3e201fa4996d6e0eadf369b136dcbf6b237b4659 (patch)
tree0d754996edf9ed3f12a181225595330ca69b3291 /app-cdr
parentsync IUSE (missing) (Manifest recommit) (diff)
downloadgentoo-2-3e201fa4996d6e0eadf369b136dcbf6b237b4659.tar.gz
gentoo-2-3e201fa4996d6e0eadf369b136dcbf6b237b4659.tar.bz2
gentoo-2-3e201fa4996d6e0eadf369b136dcbf6b237b4659.zip
make cdrdao die if trying to compile with gcc 3.4 and USE=gnome, since xdao does not yet compile. however, cdrdao compiles fine without problems now that it's dependencies have been fixed for gcc 3.4
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdrdao/ChangeLog8
-rw-r--r--app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild13
-rw-r--r--app-cdr/cdrdao/cdrdao-1.1.8.ebuild13
-rw-r--r--app-cdr/cdrdao/cdrdao-1.1.9.ebuild16
4 files changed, 41 insertions, 9 deletions
diff --git a/app-cdr/cdrdao/ChangeLog b/app-cdr/cdrdao/ChangeLog
index 4eaca527e508..c2744a07c188 100644
--- a/app-cdr/cdrdao/ChangeLog
+++ b/app-cdr/cdrdao/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-cdr/cdrdao
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.49 2004/07/14 13:24:04 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.50 2004/07/14 14:01:00 lv Exp $
+
+ 14 Jul 2004; Travis Tilley <lv@gentoo.org> cdrdao-1.1.8-r1.ebuild,
+ cdrdao-1.1.8.ebuild, cdrdao-1.1.9.ebuild:
+ make cdrdao die if trying to compile with gcc 3.4 and USE=gnome, since xdao
+ does not yet compile. however, cdrdao compiles fine without problems now that
+ it's dependencies have been fixed for gcc 3.4
14 Jul 2004; Travis Tilley <lv@gentoo.org> +files/cdrdao-1.1.9-cast.patch:
add cast patch for cdrdao 1.1.9
diff --git a/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild b/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild
index 5b8dd524c369..30cfa5564027 100644
--- a/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild
+++ b/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild,v 1.9 2004/07/11 15:49:26 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.8-r1.ebuild,v 1.10 2004/07/14 14:01:00 lv Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils gcc
DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
HOMEPAGE="http://cdrdao.sourceforge.net/"
@@ -26,6 +26,15 @@ DEPEND=">=dev-util/pccts-1.33.24-r1
>=sys-apps/sed-4"
src_unpack() {
+ if ([ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] && use gnome); then
+ eerror "xdao current will not compile using gcc 3.4. in order to compile"
+ eerror "and install cdrdao, you will have to USE="-gnome". a simple way"
+ eerror "to do this via portage is to:"
+ einfo "mkdir -p /etc/portage"
+ einfo "echo \"app-cdr/cdrdao -gnome\" >> /etc/portage/package.use"
+ die "xdao wont compile using gcc 3.4"
+ fi
+
unpack ${A}
cd ${S}
diff --git a/app-cdr/cdrdao/cdrdao-1.1.8.ebuild b/app-cdr/cdrdao/cdrdao-1.1.8.ebuild
index df84e3a74fa2..65d423b672c4 100644
--- a/app-cdr/cdrdao/cdrdao-1.1.8.ebuild
+++ b/app-cdr/cdrdao/cdrdao-1.1.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.8.ebuild,v 1.11 2004/06/29 19:56:20 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.8.ebuild,v 1.12 2004/07/14 14:01:00 lv Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils gcc
DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
HOMEPAGE="http://cdrdao.sourceforge.net/"
@@ -26,6 +26,15 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${PV}-gcc34.patch
+ if ([ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] && use gnome); then
+ eerror "xdao current will not compile using gcc 3.4. in order to compile"
+ eerror "and install cdrdao, you will have to USE="-gnome". a simple way"
+ eerror "to do this via portage is to:"
+ einfo "mkdir -p /etc/portage"
+ einfo "echo \"app-cdr/cdrdao -gnome\" >> /etc/portage/package.use"
+ die "xdao wont compile using gcc 3.4"
+ fi
+
# Only way to disable gcdmaster currently ...
use gnome || \
sed -i -e 's:^en_xdao=yes:en_xdao=no:g' configure
diff --git a/app-cdr/cdrdao/cdrdao-1.1.9.ebuild b/app-cdr/cdrdao/cdrdao-1.1.9.ebuild
index f90e062dfe22..a645c40ae0ed 100644
--- a/app-cdr/cdrdao/cdrdao-1.1.9.ebuild
+++ b/app-cdr/cdrdao/cdrdao-1.1.9.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.9.ebuild,v 1.2 2004/07/12 08:48:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.9.ebuild,v 1.3 2004/07/14 14:01:00 lv Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils gcc
DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
HOMEPAGE="http://cdrdao.sourceforge.net/"
@@ -19,13 +19,21 @@ RDEPEND=">=media-sound/lame-3.90
=dev-cpp/libgnomemm-2.0*
=dev-cpp/libgnomecanvasmm-2.0*
=dev-cpp/gconfmm-2.0*
- =dev-cpp/libgnomeuimm-2.0.0
- <sys-devel/gcc-3.4 )"
+ =dev-cpp/libgnomeuimm-2.0.0)"
DEPEND=">=dev-util/pccts-1.33.24-r1
>=app-cdr/cdrtools-2.01_alpha20
${RDEPEND}"
src_unpack() {
+ if ([ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] && use gnome); then
+ eerror "xdao current will not compile using gcc 3.4. in order to compile"
+ eerror "and install cdrdao, you will have to USE="-gnome". a simple way"
+ eerror "to do this via portage is to:"
+ einfo "mkdir -p /etc/portage"
+ einfo "echo \"app-cdr/cdrdao -gnome\" >> /etc/portage/package.use"
+ die "xdao wont compile using gcc 3.4"
+ fi
+
unpack ${A}
cd ${S}