Skip to content

Instantly share code, notes, and snippets.

@tochiz
Created July 26, 2011 03:33
Show Gist options
  • Save tochiz/1105899 to your computer and use it in GitHub Desktop.
Save tochiz/1105899 to your computer and use it in GitHub Desktop.
Gentoo Prefix Python diff(not well-tested!)
--- usr/portage/dev-lang/python/python-2.7.2.ebuild 2011-06-29 01:31:31.000000000 +0900
+++ usr/local/portage/local/dev-lang/python/python-2.7.2-r1.ebuild 2011-07-26 04:14:05.000000000 +0900
@@ -202,6 +202,7 @@
use tk || disable+=" _tkinter"
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
[[ ${CHOST} == *64-apple-darwin* ]] && disable+=" Nav _Qt" # Carbon
+ disable+=" _Fm _Qd _Qdoffs"
export PYTHON_DISABLE_MODULES="${disable}"
if ! use xml; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment