diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-03-26 13:17:07 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-03-26 13:17:07 +0000 |
commit | 87db9ef5c63daddad8f03a78c6f276c5e4f8ae0d (patch) | |
tree | 4636b0ce84f1d7fca375d66bd206a9db416fe1f1 /sci-visualization/opendx/opendx-4.4.4.ebuild | |
parent | mad64 stable (diff) | |
download | gentoo-2-87db9ef5c63daddad8f03a78c6f276c5e4f8ae0d.tar.gz gentoo-2-87db9ef5c63daddad8f03a78c6f276c5e4f8ae0d.tar.bz2 gentoo-2-87db9ef5c63daddad8f03a78c6f276c5e4f8ae0d.zip |
Added check for imagemagick's hdri useflag which breaks compilation (see bug #214058).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-visualization/opendx/opendx-4.4.4.ebuild')
-rw-r--r-- | sci-visualization/opendx/opendx-4.4.4.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-visualization/opendx/opendx-4.4.4.ebuild b/sci-visualization/opendx/opendx-4.4.4.ebuild index e2a6d28c1cfb..58eb08adeded 100644 --- a/sci-visualization/opendx/opendx-4.4.4.ebuild +++ b/sci-visualization/opendx/opendx-4.4.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.4.4.ebuild,v 1.2 2008/02/28 15:53:25 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.4.4.ebuild,v 1.3 2008/03/26 13:17:07 markusle Exp $ # Set SMP="no" to force disable of SMP compilation. # Set SMP="yes" to force enable of SMP compilation. @@ -55,6 +55,14 @@ smp_check() { linux_chkconfig_present SMP } +pkg_setup() { + if use imagemagick; then + if built_with_use media-gfx/imagemagick hdri; then + die "Please re-emerge imagemagick with USE=\"-hdri\" or compilation will fail" + fi + fi +} + src_unpack() { unpack ${A} cd "${S}" |