* Workaround for silly sed problem.

svn path=/nixpkgs/trunk/; revision=5703
This commit is contained in:
Eelco Dolstra 2006-07-14 10:58:46 +00:00
parent 10d67f5c7a
commit f9a32684d2

View File

@ -0,0 +1,32 @@
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 ;;