--- /usr/portage/x11-libs/wxGTK/wxGTK-2.2.9-r1.ebuild Fri Aug 9 14:32:11 2002 +++ wxGTK-2.2.9-r1.ebuild Mon Aug 19 21:17:03 2002 @@ -69,22 +69,17 @@ #apply the patch to get compiled with GCC-3.1 gunzip < ${FILESDIR}/${P}.diff.gz | patch -p1 - ./configure --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --prefix=/usr \ - --host=${CHOST} \ - ${myconf}|| die + CFLAGS="${CFLAGS} -DZEXPORT=''" + CXXFLAGS="${CXXFLAGS} -DZEXPORT=''" + econf ${myconf}|| die "Configuration failed" - make || die + emake || die "Compilation failed" } src_install () { - make infodir=${D}/usr/share/info \ - mandir=${D}/usr/share/man \ - prefix=${D}/usr \ - install || die + einstall || die "Installation failed" dodoc CHANGES.txt COPYING.LIB INSTALL.txt \ LICENCE.txt README.txt SYMBOLS.txt TODO.txt