--- couchdb-1.2.1.ebuild +++ couchdb-1.2.1.ebuild @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils multilib user +inherit eutils multilib pax-utils user DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database." HOMEPAGE="http://couchdb.apache.org/" @@ -39,6 +39,13 @@ sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/${PF}#" -i Makefile || die "sed failed" } +src_compile() { + emake + + # bug 442616 + pax-mark mr src/couchdb/priv/couchjs +} + src_install() { emake DESTDIR="${D}" install || die "install failed"