[135786] trunk/dports/devel/libftdi

snc at macports.org snc at macports.org
Sat May 2 20:40:22 PDT 2015


Revision: 135786
          https://trac.macports.org/changeset/135786
Author:   snc at macports.org
Date:     2015-05-02 20:40:22 -0700 (Sat, 02 May 2015)
Log Message:
-----------
libftdi1: fix python2.7 module install path, #47601

Modified Paths:
--------------
    trunk/dports/devel/libftdi/Portfile

Added Paths:
-----------
    trunk/dports/devel/libftdi/files/
    trunk/dports/devel/libftdi/files/patch-python-CMakeLists.txt.diff

Modified: trunk/dports/devel/libftdi/Portfile
===================================================================
--- trunk/dports/devel/libftdi/Portfile	2015-05-03 00:51:49 UTC (rev 135785)
+++ trunk/dports/devel/libftdi/Portfile	2015-05-03 03:40:22 UTC (rev 135786)
@@ -47,7 +47,7 @@
     PortGroup           cmake 1.0
 
     version             1.2
-    revision            1
+    revision            2
     distname            libftdi1-${version}
     use_bzip2           yes
 
@@ -63,6 +63,8 @@
     checksums           rmd160  649ec3143c01257813626527a5f3a568262b3636 \
                         sha256  a6ea795c829219015eb372b03008351cee3fb39f684bff3bf8a4620b558488d6
 
+    patchfiles          patch-python-CMakeLists.txt.diff
+
     cmake.out_of_source yes
     configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
                             -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/lib/libpython2.7.dylib \

Added: trunk/dports/devel/libftdi/files/patch-python-CMakeLists.txt.diff
===================================================================
--- trunk/dports/devel/libftdi/files/patch-python-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/devel/libftdi/files/patch-python-CMakeLists.txt.diff	2015-05-03 03:40:22 UTC (rev 135786)
@@ -0,0 +1,11 @@
+--- python/CMakeLists.txt.orig	2015-05-02 23:34:37.000000000 -0400
++++ python/CMakeLists.txt	2015-05-02 23:35:07.000000000 -0400
+@@ -34,7 +34,7 @@
+ 
+   set_target_properties ( ${SWIG_MODULE_ftdi1_REAL_NAME} PROPERTIES NO_SONAME ON )
+ 
+-  execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print( sysconfig.get_python_lib( plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}' ) )"
++  execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print( sysconfig.get_python_lib( plat_specific=True ) )"
+                     OUTPUT_VARIABLE _ABS_PYTHON_MODULE_PATH
+                     OUTPUT_STRIP_TRAILING_WHITESPACE )
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150502/ca13f5b5/attachment.html>


More information about the macports-changes mailing list