Index: mod_auth_pgsql-0.9.12-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12-r1.ebuild,v retrieving revision 1.2 diff -u -b -B -r1.2 mod_auth_pgsql-0.9.12-r1.ebuild --- mod_auth_pgsql-0.9.12-r1.ebuild 20 Feb 2005 00:42:16 -0000 1.2 +++ mod_auth_pgsql-0.9.12-r1.ebuild 25 Feb 2005 17:18:49 -0000 @@ -5,24 +5,24 @@ inherit apache-module DESCRIPTION="This module allows user authentication (and can log authentication requests) against information stored in a PostgreSQL database." -SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/${P}.tar.gz" HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql/" +SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/${P}.tar.gz" + KEYWORDS="~x86" LICENSE="freedist" SLOT="1" DEPEND="dev-db/postgresql" IUSE="" -DOCFILES="" APACHE1_MOD_CONF="${PVR}/80_mod_auth_pgsql" APACHE1_MOD_DEFINE="AUTH_PGSQL" need_apache1 src_compile() { - econf --with-apxs=/usr/sbin/apxs --with-pgsql-lib=/usr/lib/postgresql \ + econf --with-apxs=${APXS1} --with-pgsql-lib=/usr/lib/postgresql \ --with-pgsql-include=/usr/include/postgresql || die "econf failed" - /usr/sbin/apxs -I/usr/include/postgresql \ + ${APXS1} -I/usr/include/postgresql \ -L/usr/lib/postgresql -lpq \ -o mod_auth_pgsql.so -c mod_auth_pgsql.c auth_pgsql_shared_stub.c || die } Index: mod_auth_pgsql-2.0.2-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r2.ebuild,v retrieving revision 1.2 diff -u -b -B -r1.2 mod_auth_pgsql-2.0.2-r2.ebuild --- mod_auth_pgsql-2.0.2-r2.ebuild 20 Feb 2005 00:42:16 -0000 1.2 +++ mod_auth_pgsql-2.0.2-r2.ebuild 25 Feb 2005 17:18:49 -0000 @@ -5,28 +5,26 @@ inherit apache-module DESCRIPTION="This module allows user authentication (and can log authentication requests) against information stored in a PostgreSQL database." -SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/${P}b1.tar.gz" HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql2/" +SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/${P}b1.tar.gz" + KEYWORDS="~x86 ~ppc ~sparc" LICENSE="freedist" SLOT="2" DEPEND="dev-db/postgresql" IUSE="" -DOCFILES="INSTALL README TODO" +APXS2_ARGS="-a -c -I /usr/pgsql/include -L /usr/pgsql/lib -lpq mod_auth_pgsql.c" + APACHE2_MOD_CONF="${PVR}/80_mod_auth_pgsql" APACHE2_MOD_DEFINE="AUTH_PGSQL" +DOCFILES="INSTALL README TODO" + need_apache2 S="${WORKDIR}/${P}b1" -src_compile() { - local myargs="-a -c -I /usr/pgsql/include -L /usr/pgsql/lib -lpq mod_auth_pgsql.c" - APXS2_ARGS="${myargs}" - apache-module_src_compile -} - src_install() { apache-module_src_install fperms 600 ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf