Skip to content

Instantly share code, notes, and snippets.

@tochiz
Created July 25, 2011 07:31
Show Gist options
  • Save tochiz/1103706 to your computer and use it in GitHub Desktop.
Save tochiz/1103706 to your computer and use it in GitHub Desktop.
readline ebuild diff
--- portage/sys-libs/readline/readline-6.1_p2.ebuild 2011-02-11 00:31:34.000000000 +0900
+++ local/portage/local/sys-libs/readline/readline-6.1_p2.ebuild 2011-07-25 16:31:04.000000000 +0900
@@ -79,6 +79,9 @@
append-cppflags -D_GNU_SOURCE
econf --with-curses || die
+
+ sed -i -e 's/-dynamic/-dynamiclib/' shlib/Makefile
+
emake || die
if ! tc-is-cross-compiler ; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment