--- gcal-3.01.ebuild 2003-06-30 08:17:15.000000000 +0900 +++ gcal-3.01-r1.ebuild 2003-08-04 20:53:02.000000000 +0900 @@ -27,7 +27,10 @@ # Need to fix up paths for scripts in misc directory # that are automatically created by the makefile - dosed /usr/share/gcal/misc/*/* + for miscfile in ${D}/usr/share/gcal/misc/*/* + do + dosed "s:${D%/}::g" ${miscfile/${D}} + done # Rebuild the symlinks that makefile created into the image /usr/bin # directory during make install