--- mapserver-4.2.5.ebuild.orig 2004-12-03 14:18:42.067300280 -0800 +++ mapserver-4.2.5.ebuild 2004-12-02 14:17:33.000000000 -0800 @@ -19,6 +19,7 @@ tiff? ( media-libs/tiff ) gdal? ( dev-libs/gdal ) postgis ( dev-db/postgis ) + php? ( dev-php/php ) " RDEPEND="net-www/apache" @@ -39,6 +40,10 @@ && myconf="${myconf} --with-postgis=/usr/bin/pg_config" \ || myconf="${myconf} --without-postgis" + use php \ + && myconf="${myconf} --with-php=/usr/include/php" \ + || myconf="${myconf} --without-php" + econf \ --host=${CHOST} \ --prefix=/usr \ @@ -46,6 +51,7 @@ `use_with threads` \ `use_with pdf` \ `use_with proj` \ + `use_with php` \ --infodir=/usr/share/info \ --mandir=/usr/share/man ${myconf} || die "./configure failed" emake || die