Public feed #380976

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-03-04 14:43 UTC
rendered paste body
RDEPEND=">=dev-db/mysql-4
                virtual/httpd-php
                dev-php/PEAR-DB
                dev-php/PEAR-Cache_Lite
                dev-php/PEAR-Mail_Mime"

pkg_setup() {
        if ! built_with_use virtual/httpd-php mysql ; then
                eerror "PHP is missing MySQL support."
                eerror "Please add 'mysql' to your USE flags, and re-emerge PHP."
                die "PHP needs MySQL support"
        fi
        if ! built_with_use virtual/httpd-php curl ; then
                eerror "PHP is missing cURL support."
                eerror "Please add 'curl' to your USE flags, and re-emerge PHP."
                die "PHP needs cURL support"
        fi
        if ! built_with_use virtual/httpd-php ssl ; then
                eerror "PHP is missing SSL support."
                eerror "Please add 'ssl' to your USE flags, and re-emerge PHP."
                die "PHP needs SSL support"
        fi
        if ! built_with_use virtual/httpd-php xml ; then
                eerror "PHP is missing XML support."
                eerror "Please add 'xml' to your USE flags, and re-emerge PHP."
                die "PHP needs XML support"