diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-07-12 21:11:45 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-07-12 21:11:45 +0000 |
commit | eebdc4c92b66c3e01d2ec54ff7d17ff465e76ed1 (patch) | |
tree | ec362eb21bf6bf9c13273ee2c9d0aa20dd6d30a8 /www-apps/moodle | |
parent | add ~arm, bug #370859 (diff) | |
download | gentoo-2-eebdc4c92b66c3e01d2ec54ff7d17ff465e76ed1.tar.gz gentoo-2-eebdc4c92b66c3e01d2ec54ff7d17ff465e76ed1.tar.bz2 gentoo-2-eebdc4c92b66c3e01d2ec54ff7d17ff465e76ed1.zip |
Make moodle depend on either php[gd] or php[gd-external], bug #374605
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/moodle')
-rw-r--r-- | www-apps/moodle/ChangeLog | 6 | ||||
-rw-r--r-- | www-apps/moodle/moodle-1.9.12.ebuild | 11 | ||||
-rw-r--r-- | www-apps/moodle/moodle-2.0.3.ebuild | 20 | ||||
-rw-r--r-- | www-apps/moodle/moodle-2.1.ebuild | 20 |
4 files changed, 39 insertions, 18 deletions
diff --git a/www-apps/moodle/ChangeLog b/www-apps/moodle/ChangeLog index c6fa69e9199f..ec8c99fce443 100644 --- a/www-apps/moodle/ChangeLog +++ b/www-apps/moodle/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/moodle # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.8 2011/07/09 20:25:29 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.9 2011/07/12 21:11:45 blueness Exp $ + + 12 Jul 2011; Anthony G. Basile <blueness@gentoo.org> moodle-1.9.12.ebuild, + moodle-2.0.3.ebuild, moodle-2.1.ebuild: + Make moodle depend on either php[gd] or php[gd-external], bug #374605 *moodle-2.1 (09 Jul 2011) diff --git a/www-apps/moodle/moodle-1.9.12.ebuild b/www-apps/moodle/moodle-1.9.12.ebuild index 8199512b55a6..83440f893679 100644 --- a/www-apps/moodle/moodle-1.9.12.ebuild +++ b/www-apps/moodle/moodle-1.9.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-1.9.12.ebuild,v 1.1 2011/05/11 19:14:39 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-1.9.12.ebuild,v 1.2 2011/07/12 21:11:45 blueness Exp $ EAPI="2" @@ -26,7 +26,8 @@ AUTHFLAGS="imap?,ldap?,odbc?" AUTHMODES=${AUTHFLAGS//\?/} AUTHMODES=${AUTHMODES//,/ } -PHPFLAGS="ctype,curl,gd,iconv,ssl,tokenizer,xml,xmlrpc,zlib" +PHPFLAGS_A="ctype,curl,gd,iconv,ssl,tokenizer,xml,xmlrpc,zlib" +PHPFLAGS_B="ctype,curl,gd-external,iconv,ssl,tokenizer,xml,xmlrpc,zlib" IUSE="${DBTYPES} ${AUTHMODES} vhosts" @@ -35,7 +36,11 @@ IUSE="${DBTYPES} ${AUTHMODES} vhosts" # postgres? ( dev-db/postgresql-server-7* ) # which may live on another server DEPEND="" -RDEPEND=">=dev-lang/php-4.3.0[${DBFLAGS},${AUTHFLAGS},${PHPFLAGS}] +RDEPEND=" + || ( + >=dev-lang/php-4.3.0[${DBFLAGS},${AUTHFLAGS},${PHPFLAGS_A}] + >=dev-lang/php-4.3.0[${DBFLAGS},${AUTHFLAGS},${PHPFLAGS_B}] + ) virtual/httpd-php virtual/cron" diff --git a/www-apps/moodle/moodle-2.0.3.ebuild b/www-apps/moodle/moodle-2.0.3.ebuild index 67e9a98276d6..1ea65bfb764a 100644 --- a/www-apps/moodle/moodle-2.0.3.ebuild +++ b/www-apps/moodle/moodle-2.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.0.3.ebuild,v 1.1 2011/05/11 19:14:39 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.0.3.ebuild,v 1.2 2011/07/12 21:11:45 blueness Exp $ EAPI="2" @@ -27,12 +27,16 @@ AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/} AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ } PHP_REQUIRED_FLAGS_52="ctype,curl,iconv,json,pcre,simplexml,spl,xml,zip" -PHP_OPTIONAL_FLAGS_52="gd,soap,ssl,tokenizer,xmlrpc" -PHP_FLAGS_52="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52}" +PHP_OPTIONAL_FLAGS_52_A="gd,soap,ssl,tokenizer,xmlrpc" +PHP_OPTIONAL_FLAGS_52_B="gd-external,soap,ssl,tokenizer,xmlrpc" +PHP_FLAGS_52_A="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52_A}" +PHP_FLAGS_52_B="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52_B}" PHP_REQUIRED_FLAGS_53="ctype,curl,iconv,json,simplexml,xml,zip" -PHP_OPTIONAL_FLAGS_53="gd,intl,soap,ssl,tokenizer,xmlrpc" -PHP_FLAGS_53="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53}" +PHP_OPTIONAL_FLAGS_53_A="gd,intl,soap,ssl,tokenizer,xmlrpc" +PHP_OPTIONAL_FLAGS_53_B="gd-external,intl,soap,ssl,tokenizer,xmlrpc" +PHP_FLAGS_53_A="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53_A}" +PHP_FLAGS_53_B="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53_B}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" @@ -43,8 +47,10 @@ IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" DEPEND="" RDEPEND=" || ( - =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52}] - =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53}] + =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52_A}] + =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52_B}] + =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53_A}] + =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53_B}] ) virtual/httpd-php virtual/cron" diff --git a/www-apps/moodle/moodle-2.1.ebuild b/www-apps/moodle/moodle-2.1.ebuild index 17d0aeabaf44..aadf32e68269 100644 --- a/www-apps/moodle/moodle-2.1.ebuild +++ b/www-apps/moodle/moodle-2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.1.ebuild,v 1.1 2011/07/09 20:25:29 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.1.ebuild,v 1.2 2011/07/12 21:11:45 blueness Exp $ EAPI="2" @@ -27,12 +27,16 @@ AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/} AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ } PHP_REQUIRED_FLAGS_52="ctype,curl,iconv,json,pcre,simplexml,spl,xml,zip" -PHP_OPTIONAL_FLAGS_52="gd,soap,ssl,tokenizer,xmlrpc" -PHP_FLAGS_52="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52}" +PHP_OPTIONAL_FLAGS_52_A="gd,soap,ssl,tokenizer,xmlrpc" +PHP_OPTIONAL_FLAGS_52_B="gd-external,soap,ssl,tokenizer,xmlrpc" +PHP_FLAGS_52_A="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52_A}" +PHP_FLAGS_52_B="${PHP_REQUIRED_FLAGS_52},${PHP_OPTIONAL_FLAGS_52_B}" PHP_REQUIRED_FLAGS_53="ctype,curl,iconv,json,simplexml,xml,zip" -PHP_OPTIONAL_FLAGS_53="gd,intl,soap,ssl,tokenizer,xmlrpc" -PHP_FLAGS_53="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53}" +PHP_OPTIONAL_FLAGS_53_A="gd,intl,soap,ssl,tokenizer,xmlrpc" +PHP_OPTIONAL_FLAGS_53_B="gd-external,intl,soap,ssl,tokenizer,xmlrpc" +PHP_FLAGS_53_A="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53_A}" +PHP_FLAGS_53_B="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53_B}" IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" @@ -43,8 +47,10 @@ IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" DEPEND="" RDEPEND=" || ( - =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52}] - =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53}] + =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52_A}] + =dev-lang/php-5.2*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_52_B}] + =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53_A}] + =dev-lang/php-5.3*[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS_53_B}] ) virtual/httpd-php virtual/cron" |