[Midnightbsd-cvs] mports [23453] trunk/devel/libftdi/Makefile: path is oddly corrupted here
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed May 9 17:47:23 EDT 2018
Revision: 23453
http://svnweb.midnightbsd.org/mports/?rev=23453
Author: laffer1
Date: 2018-05-09 17:47:22 -0400 (Wed, 09 May 2018)
Log Message:
-----------
path is oddly corrupted here
Modified Paths:
--------------
trunk/devel/libftdi/Makefile
Modified: trunk/devel/libftdi/Makefile
===================================================================
--- trunk/devel/libftdi/Makefile 2018-05-09 21:40:48 UTC (rev 23452)
+++ trunk/devel/libftdi/Makefile 2018-05-09 21:47:22 UTC (rev 23453)
@@ -23,7 +23,7 @@
OPTIONS_SUB= yes
BOOST_DESC= C++ bindings (requires Boost)
-BOOST_LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs
+BOOST_LIB_DEPENDS= libboost_system.so:devel/boost-libs
BOOST_CMAKE_ON= -DFTDIPP:BOOL=ON
BOOST_CMAKE_OFF= -DFTDIPP:BOOL=OFF
BOOST_CXXFLAGS= -I${LOCALBASE}/include
@@ -32,7 +32,7 @@
PYTHON_BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20
PYTHON_CMAKE_ON= -DPYTHON_BINDINGS:BOOL=ON
PYTHON_CMAKE_OFF= -DPYTHON_BINDINGS:BOOL=OFF
-PYTHON_USES= python
+PYTHON_USES= python:2.7
.include <bsd.mport.options.mk>
@@ -47,9 +47,9 @@
post-install:
.if ${PORT_OPTIONS:MPYTHON}
- ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR}
- ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR}
- ${STRIP_CMD} ${PYTHON_SITELIBDIR}/_ftdi.so
+ python2.7 -m compileall -d ${FAKE_DESTDIR}/usr/local/lib/python2.7/site-packages
+ python2.7 -O -m compileall -d ${FAKE_DESTDIR}/usr/local/lib/python2.7/site-packages
+ python2.7 ${FAKE_DESTDIR}/usr/local/lib/python2.7/site-packages/_ftdi.so
.endif
.include <bsd.port.mk>
More information about the Midnightbsd-cvs
mailing list