diff -ru ../Ice-3.3.1.orig/py/config/Make.rules.Darwin ./py/config/Make.rules.Darwin
--- ../Ice-3.3.1.orig/py/config/Make.rules.Darwin	2009-03-20 10:52:15.000000000 -0700
+++ ./py/config/Make.rules.Darwin	2013-08-30 21:01:15.000000000 -0700
@@ -18,7 +18,7 @@
     ifeq ($(shell test ! -f $(PYTHON_HOME)/Python && echo 0),0)
         $(error Unable to find Python framework See config/Make.rules.Darwin)
     endif
-    PYTHON_LIBS		= -F$(patsubst %/Python.framework/Versions/,%,$(dir $(PYTHON_HOME))) -framework Python
+    PYTHON_LIBS		= $(PYTHON_HOME)/Python
 else
     PYTHON_HOME		= /System/Library/Frameworks/Python.framework/Versions/Current
     PYTHON_LIBS		= -framework Python
@@ -26,7 +26,7 @@
 
 PYTHON_INCLUDE_DIR	= $(PYTHON_HOME)/include/$(PYTHON_VERSION)
 
-CXX	                = c++
+CXX	               ?= c++
 
 CXXFLAGS		= -ftemplate-depth-128 -Wall -D_REENTRANT
 
@@ -48,4 +48,4 @@
 BASELIBS		= -lIceUtil -lpthread 
 LIBS			= -lIce $(BASELIBS)
 
-PLATFORM_HAS_READLINE   := no
+PLATFORM_HAS_READLINE   := yes
