nixpkgs/pkgs/tools/text/gnused/gettext-fix.patch
Eelco Dolstra f9a32684d2 * Workaround for silly sed problem.
svn path=/nixpkgs/trunk/; revision=5703
2006-07-14 10:58:46 +00:00

33 lines
1.1 KiB
Diff

diff -rc sed-4.1.5-orig/configure sed-4.1.5/configure
*** sed-4.1.5-orig/configure Fri Feb 3 10:24:40 2006
--- sed-4.1.5/configure Fri Jul 14 12:50:13 2006
***************
*** 11265,11277 ****
esac
done ;;
gettext-fix )
! sed -e '/^mkinstalldirs *=/a\' \
! -e "install_sh=$install_sh" \
-e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
intl/Makefile > intl/Makefile.tmp
mv intl/Makefile.tmp intl/Makefile
! sed -e '/^mkinstalldirs *=/a\' \
! -e "install_sh=$install_sh" \
-e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
po/Makefile > po/Makefile.tmp
mv po/Makefile.tmp po/Makefile ;;
--- 11265,11277 ----
esac
done ;;
gettext-fix )
! sed -e "/^mkinstalldirs *=/a\\
! install_sh=$install_sh" \
-e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
intl/Makefile > intl/Makefile.tmp
mv intl/Makefile.tmp intl/Makefile
! sed -e "/^mkinstalldirs *=/a\\
! install_sh=$install_sh" \
-e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
po/Makefile > po/Makefile.tmp
mv po/Makefile.tmp po/Makefile ;;