source: trunk/dports/python/py-zeroc-ice35/files/patch-py.config.Make.rules.Darwin.diff @ 100529

Last change on this file since 100529 was 100529, checked in by blair@…, 8 years ago

py-zeroc-ice35: new Python bindings for Ice 3.5b; based on py-zeroc-ice34.

File size: 1.0 KB
  • py/config/Make.rules.Darwin

    diff -ru ../Ice-3.5b.orig/py/config/Make.rules.Darwin ./py/config/Make.rules.Darwin
    old new  
    1818    ifeq ($(shell test ! -f $(PYTHON_HOME)/Python && echo 0),0)
    1919        $(error Unable to find Python framework See config/Make.rules.Darwin)
    2020    endif
    21     PYTHON_LIBS         = -F$(patsubst %/Python.framework/Versions/,%,$(dir $(PYTHON_HOME))) -framework Python
     21    PYTHON_LIBS         = $(PYTHON_HOME)/Python
    2222else
    2323    PYTHON_HOME         = /System/Library/Frameworks/Python.framework/Versions/Current
    2424    PYTHON_LIBS         = -framework Python
     
    2626
    2727PYTHON_INCLUDE_DIR      = $(PYTHON_HOME)/include/$(PYTHON_VERSION)
    2828
    29 CXX                     = c++
     29CXX                    ?= c++
    3030
    3131CXXFLAGS                = -ftemplate-depth-128 -Wall -D_REENTRANT
    3232
     
    4848BASELIBS                = -lIceUtil -lpthread
    4949LIBS                    = -lIce $(BASELIBS)
    5050
    51 PLATFORM_HAS_READLINE   := no
     51PLATFORM_HAS_READLINE   := yes
Note: See TracBrowser for help on using the repository browser.