Browse Source

fix build

Waldemar Brodkorb 11 years ago
parent
commit
d8eb95ffc8
3 changed files with 14 additions and 2 deletions
  1. 2 1
      mk/build.mk
  2. 1 1
      package/dbus-python/Makefile
  3. 11 0
      package/dbus-python/patches/patch-configure

+ 2 - 1
mk/build.mk

@@ -572,8 +572,9 @@ release:
 			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
 			rm .config; \
 		) 2>&1 | tee $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
-		if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; break;fi \
+		if [ -f .exit ];then echo "Bulk build failed!"; break;fi \
 	done
+	if [ -f .exit ];then rm .exit;exit 1;fi
 
 # build all target architecture, target systems and libc combinations
 bulk:

+ 1 - 1
package/dbus-python/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		dbus-python
 PKG_VERSION:=		1.2.0
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		b09cd2d1a057cc432ce944de3fc06bf7
 PKG_DESCR:=		DBUS python bindings
 PKG_SECTION:=		libs

+ 11 - 0
package/dbus-python/patches/patch-configure

@@ -0,0 +1,11 @@
+--- dbus-python-1.2.0.orig/configure	2013-05-08 09:48:42.000000000 +0200
++++ dbus-python-1.2.0/configure	2013-12-13 12:52:44.522656370 +0100
+@@ -11762,7 +11762,7 @@ $as_echo "$as_me: PYTHON_INCLUDES overri
+ else
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python headers using $PYTHON-config --includes" >&5
+ $as_echo_n "checking for Python headers using $PYTHON-config --includes... " >&6; }
+-  PYTHON_INCLUDES=`$PYTHON-config --includes`
++  PYTHON_INCLUDES=`python-config --includes`
+   if test $? = 0; then
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
+ $as_echo "$PYTHON_INCLUDES" >&6; }