Skip to contentSkip to conversation

python-pyparsing: fix _python_srcdir

PATCH New Danomi Manchego 1 participant 1 message Oct 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pyparsing: fix _python_srcdir

The previous expression for _python_srcdir forgot the dash between "python" and the version, so the path was actually non-existent. Change the expression to "$(PYTHON_DIR)", which is simpler, and matches python-crc16 and python-pyzmq.

---

I don't actually know if _python_srcdir needs to be there, but if it's there, then it shouldn't point to an invalid location.

---
 package/python-pyparsing/python-pyparsing.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-pyparsing/python-pyparsing.mk +1 -1
index 7814ce3..70a7e3b 100644
@@ -20,7 +20,7 @@ define PYTHON_PYPARSING_BUILD_CMDS
 	 LDSHARED="$(TARGET_CROSS)gcc -shared"                  \
 	 CROSS_COMPILING=yes                                    \
 	 _python_sysroot=$(STAGING_DIR)                         \
-	 _python_srcdir=$(BUILD_DIR)/python$(PYTHON_VERSION)    \
+	 _python_srcdir=$(PYTHON_DIR)                           \
 	 _python_prefix=/usr                                    \
 	 _python_exec_prefix=/usr                               \
 	 $(HOST_DIR)/usr/bin/python setup.py build              \
Signature · 1 line
1.7.9.5