--- py/config/Make.rules.orig 2013-03-11 15:19:47.000000000 +0000 +++ py/config/Make.rules 2013-05-20 14:21:13.335195726 +0000 @@ -12,7 +12,8 @@ # if it does not exist. # -prefix ?= /opt/Ice-$(VERSION) +ICE_HOME = %%LOCALBASE%% +prefix ?= %%PREFIX%% # # The "root directory" for runpath embedded in executables. Can be unset @@ -95,8 +96,8 @@ endif libdir = $(top_srcdir)/python -install_pythondir = $(prefix)/python -install_libdir = $(prefix)/python +install_pythondir = %%PYTHON_SITELIBDIR%%/Ice +install_libdir = %%PYTHON_SITELIBDIR%%/Ice ifeq ($(UNAME),SunOS) ifeq ($(LP64),yes) @@ -118,7 +119,7 @@ ICE_LIB_DIR = -L$(ice_dir)/$(libsubdir) ICE_FLAGS = -I$(ice_dir)/include endif -ICE_LIBS = $(ICE_LIB_DIR) -lIce -lSlice -lIceUtil +ICE_LIBS = $(ICE_LIB_DIR) -lIce -lSlice -lIceUtil -liconv ifneq ($(embedded_runpath_prefix),) runpath_libdir := $(embedded_runpath_prefix)/$(libsubdir)