Skip to content
Permalink
Browse files

Ensure that the Python 2.4 bindings for Ice link against the correct

framework Python.  The gcc collect2 seems to reorder the -F and -f
lines so that the system's Python framework install is picked up.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@37862 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blair committed Jun 26, 2008
1 parent ff28f48 commit 1264ceb12098d3736de31ee3f474be8fe1b8bf3e
Showing with 2 additions and 1 deletion.
  1. +1 −0 devel/ice-python/Portfile
  2. +1 −1 devel/ice-python/files/patch-py.config.Make.rules.Darwin.diff
@@ -4,6 +4,7 @@ PortSystem 1.0

name ice-python
version 3.3.0
revision 1
categories devel python
maintainers blair
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -6,7 +6,7 @@ diff -ru ../Ice-3.3.0.orig/py/config/Make.rules.Darwin ./py/config/Make.rules.Da

PYTHON_INCLUDE_DIR = $(PYTHON_HOME)/include/$(PYTHON_VERSION)
-PYTHON_LIBS = -F$(PYTHON_HOME) -framework Python
+PYTHON_LIBS = -F$(shell python -c 'print "/".join("$(PYTHON_HOME)".split("/")[0:-3])') -framework Python
+PYTHON_LIBS = $(PYTHON_HOME)/Python

-CXX = c++
+CXX ?= c++

0 comments on commit 1264ceb

Please sign in to comment.
You can’t perform that action at this time.