View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-14 / +7 lines)
 Lines 4-17    Link Here 
inherit autotools eutils flag-o-matic libtool db-use
inherit autotools eutils flag-o-matic libtool db-use
DBD_MYSQL=84
APR_PV=1.2.12
APR_PV=1.2.11
DESCRIPTION="Apache Portable Runtime Library"
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
SRC_URI="mirror://apache/apr/${P}.tar.gz
	mirror://apache/apr/apr-${APR_PV}.tar.gz
	mirror://apache/apr/apr-${APR_PV}.tar.gz"
	mysql? ( mirror://gentoo/apr_dbd_mysql-r${DBD_MYSQL}.c )"
LICENSE="Apache-2.0"
LICENSE="Apache-2.0"
SLOT="1"
SLOT="1"
 Lines 34-44    Link Here 
	unpack ${A}
	unpack ${A}
	cd "${S}"
	cd "${S}"
	if use mysql ; then
		cp "${DISTDIR}"/apr_dbd_mysql-r${DBD_MYSQL}.c \
			"${S}"/dbd/apr_dbd_mysql.c || die "could not copy mysql driver"
	fi
	./buildconf --with-apr=../apr-${APR_PV} || die "buildconf failed"
	./buildconf --with-apr=../apr-${APR_PV} || die "buildconf failed"
	elibtoolize || die "elibtoolize failed"
	elibtoolize || die "elibtoolize failed"
}
}
 Lines 66-87    Link Here 
		$(use_with postgres pgsql) \
		$(use_with postgres pgsql) \
		$(use_with sqlite sqlite2) \
		$(use_with sqlite sqlite2) \
		$(use_with sqlite3) \
		$(use_with sqlite3) \
		${myconf} || die "econf failed!"
		${myconf}
	emake || die "emake failed!"
	emake || die "emake failed!"
	if use doc; then
	if use doc; then
		emake dox || die "make dox failed"
		emake dox || die "emake dox failed"
	fi
	fi
}
}
src_install() {
src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc CHANGES NOTICE
	dodoc CHANGES NOTICE
	if use doc; then
	if use doc; then
		dohtml docs/dox/html/* || die
		dohtml docs/dox/html/* || die "dohtml failed"
	fi
	fi
	# This file is only used on AIX systems, which gentoo is not,
	# This file is only used on AIX systems, which gentoo is not,