diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-04 14:23:55 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-04 14:23:55 +0000 |
| commit | 24aa3e3720cdb7c1e69ea6f0a9c199ac16c57d0e (patch) | |
| tree | c2db109efe8ee6b2590db330a533083081192604 /devel/py-ice/files/patch-config+Make.rules | |
| parent | - Unbreak vpnc-disconnect by fixing the config.c patch (diff) | |
Ice language mapping for Python.
Internet Communications Engine (Ice) is a modern alternative to object
middleware such as CORBA(TM) or COM/DCOM/COM+.
PR: ports/85546
Submitted by: Boris B. Samorodov <bsam@ipt.ru>
Notes
Notes:
svn path=/head/; revision=141914
Diffstat (limited to 'devel/py-ice/files/patch-config+Make.rules')
| -rw-r--r-- | devel/py-ice/files/patch-config+Make.rules | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/devel/py-ice/files/patch-config+Make.rules b/devel/py-ice/files/patch-config+Make.rules new file mode 100644 index 000000000000..eab3b7b92e82 --- /dev/null +++ b/devel/py-ice/files/patch-config+Make.rules @@ -0,0 +1,56 @@ +--- config/Make.rules.orig Fri Jun 24 01:36:53 2005 ++++ config/Make.rules Tue Aug 30 20:31:34 2005 +@@ -7,6 +7,8 @@ + # + # ********************************************************************** + ++ICE_HOME = %%LOCALBASE%% ++ + ifndef ICE_HOME + $(error ICE_HOME is not defined) + endif +@@ -16,7 +18,7 @@ + # if it does not exist. + # + +-prefix = /opt/IcePy-$(VERSION) ++prefix = %%PREFIX%% + + # + # Define OPTIMIZE as yes if you want to build with optimization. +@@ -65,13 +67,13 @@ + # version used for building the Ice extension, then set PYTHON_VERSION + # to "python2.3" or "python2.4". + # +- PYTHON_VERSION ?= $(word 1,$(notdir $(wildcard /usr/include/python2.[34]*))) ++ PYTHON_VERSION ?= $(word 1,$(notdir $(wildcard %%LOCALBASE%%/include/python2.[34]*))) + ifeq ($(PYTHON_VERSION),) + python_darwin_home = /System/Library/Frameworks/Python.framework/Versions/Current + PYTHON_VERSION = $(word 1,$(notdir $(wildcard $(python_darwin_home)/include/python2.[34]*))) + endif +- PYTHON_INCLUDE_DIR = /usr/include/$(PYTHON_VERSION) +- PYTHON_LIB_DIR = /usr/lib/$(PYTHON_VERSION)/config ++ PYTHON_INCLUDE_DIR = %%LOCALBASE%%/include/$(PYTHON_VERSION) ++ PYTHON_LIB_DIR = %%LOCALBASE%%/lib/$(PYTHON_VERSION) + endif + + ifeq ($(PYTHON_VERSION),) +@@ -103,14 +105,14 @@ + ifeq ($(LP64),yes) + install_libdir = $(prefix)/lib$(lp64suffix) + else +- install_libdir = $(prefix)/lib ++ install_libdir = %%PYTHON_SITELIBDIR%%/Ice + endif + + install_slicedir = $(prefix)/slice +-install_pythondir = $(prefix)/python ++install_pythondir = %%PYTHON_SITELIBDIR%%/Ice + +-INSTALL = cp -fp +-INSTALL_PROGRAM = ${INSTALL} ++INSTALL = install -C -o root -g wheel -m 444 ++INSTALL_PROGRAM = install -C -s -o root -g wheel -m 555 + INSTALL_LIBRARY = ${INSTALL} + INSTALL_DATA = ${INSTALL} + |
