--- ocfs2-tools-1.2.1.ebuild 2007-09-21 22:05:39.000000000 +0200 +++ ocfs2-tools-1.2.6.ebuild 2007-09-20 23:02:50.000000000 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild,v 1.3 2007/06/26 02:53:50 mr_bones_ Exp $ +inherit eutils + PV_MAJOR="${PV%%.*}" PV_MINOR="${PV#*.}" PV_MINOR="${PV_MINOR%%.*}" @@ -10,7 +12,7 @@ SRC_URI="http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v${PV_MAJOR}.${PV_MINOR}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="X" # (#142216) build system's broke, always requires glib for debugfs utility RDEPEND="X? ( @@ -23,6 +25,9 @@ DEPEND="${RDEPEND}" src_compile() { + + epatch ${FILESDIR}/page-h.patch + local myconf="--enable-dynamic-fsck --enable-dynamic-ctl" econf --prefix=${ROOT} \ @@ -69,7 +74,7 @@ # FIXME - fix the python lib. # pythonians wouldn't like this probably, but I couldn't find better # solution. - mv "${D}"/lib "${D}"/usr + mv "${D}"/$(get_libdir) "${D}"/usr } pkg_postinst() {