--- newt-0.51.6.ebuild.orig 2005-04-04 00:21:15.000000000 +0100 +++ newt-0.51.6.ebuild 2005-04-04 00:46:41.000000000 +0100 @@ -33,6 +33,9 @@ # use the correct compiler... sed -i -e 's:gcc:$(CC):g' ${S}/Makefile.in + # make makefile multilib aware + sed -i -e "s:libdir =.*:libdir = \$(prefix)/$(get_libdir):" ${S}/Makefile.in + # avoid make cleaning up some intermediate files # as it would rebuild them during install :-( echo >>${S}/Makefile.in @@ -57,5 +60,5 @@ # not parallel safe emake -j1 prefix="${D}/usr" PYTHONVERS="python${PYVER}" RPM_OPT_FLAGS="ERROR" install || die "make install failed" dodoc CHANGES COPYING peanuts.py popcorn.py tutorial.sgml - dosym libnewt.so.${PV} /usr/lib/libnewt.so.0.50 + dosym libnewt.so.${PV} /usr/$(get_libdir)/libnewt.so.0.50 }