There are a couple of sed-s in the windowmaker ebuilds that are a bit hard to read. They have a lot of "\/" which could easily be avoided by using a different separator. Also a lib should become $(get_libdir) in one of the seds. Please consider the following patch: @@ -92,20 +119,23 @@ for file in ${S}/WindowMaker/*menu*; do if [ -r $file ]; then if use gnustep ; then - sed -e "s/\/usr\/local\/GNUstep/`cat ${TMP}/sed.gs_prefix`System/g; - s/XXX_SED_FSLASH/\//g;" < $file > $file.tmp + sed -e "s:/usr/local/GNUstep:`cat ${TMP}/sed.gs_prefix`System:g;" \ + -e "s:XXX_SED_FSLASH:/:g;" < $file > $file.tmp else - sed -e 's/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g;' < $file > $file.tmp + sed -e "s:/usr/local/GNUstep:/usr/$(get_libdir)/GNUstep:g;" < $file > $file.tmp fi mv $file.tmp $file; - sed -e 's/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;' < $file > $file.tmp; + sed -e 's:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;' < $file > $file.tmp; mv $file.tmp $file; fi; done;
thanks for the cleanup ... it is about 100x nicer with the different seperators :-) fixes in portage