--- py/config/Make.rules.orig 2009-04-14 21:17:37.000000000 +0800 +++ py/config/Make.rules 2009-04-14 21:19:57.000000000 +0800 @@ -12,7 +12,9 @@ # 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 @@ -72,8 +74,8 @@ endif libdir = $(top_srcdir)/python -install_pythondir = $(prefix)/python -install_libdir = $(prefix)/python +install_pythondir = %%PYTHON_SITELIBDIR%%/Ice +install_libdir = %%PYTHON_SITELIBDIR%%/Ice # # Platform specific definitions @@ -97,7 +99,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)