--- php-sapi.eclass.dist 2004-06-29 18:43:33.000000000 -0700 +++ php-sapi.eclass 2004-06-29 18:41:13.000000000 -0700 @@ -45,7 +45,7 @@ SRC_URI="${SRC_URI} mirror://gentoo/php- # Where we work S=${WORKDIR}/${MY_P} -IUSE="${IUSE} X crypt curl firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdflib png postgres qt snmp spell ssl tiff truetype xml2 yaz fdftk doc gmp kerberos hardenedphp mssql" +IUSE="${IUSE} X crypt curl db2 firebird flash freetds gd gd-external gdbm imap informix ipv6 java jpeg ldap mcal memlimit mysql nls oci8 odbc pam pdflib png postgres qt snmp spell ssl tiff truetype xml2 yaz fdftk doc gmp kerberos hardenedphp mssql" # Hardened-PHP support # @@ -313,6 +313,7 @@ php-sapi_src_compile() { myconf="${myconf} `use_with odbc unixODBC /usr`" myconf="${myconf} `use_with postgres pgsql /usr`" myconf="${myconf} `use_with snmp snmp /usr`" + myconf="${myconf} `use_with db2 ibm-db2`" use snmp && myconf="${myconf} --enable-ucd-snmp-hack" use X && myconf="${myconf} --with-xpm-dir=/usr/X11R6" LDFLAGS="${LDFLAGS} -L/usr/X11R6/lib" myconf="${myconf} `use_with gmp`"