--- trunk/core/ghostscript-gpl/ghostscript-gpl-8.70-r1.smage2 2009/10/26 19:03:00 3596 +++ trunk/core/ghostscript-gpl/ghostscript-gpl-8.70-r1.smage2 2009/10/26 19:13:12 3597 @@ -76,7 +76,7 @@ mpatch ${PNAME}-${PVER}-respect-gsc-ldflags.patch || die # search path fix - sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVER:0:4}/$(mlibdir):" \ + sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVER%.*}/$(mlibdir):" \ -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' \ base/Makefile.in base/*.mak || die @@ -92,6 +92,8 @@ # regen makefiles autoreconf --install --force --verbose || die cd ${SRCDIR}/ijs + # fix libtool issues + mlibtoolize || die autoreconf --install --force --verbose || die }