Browse Source

fix libxcb build

Waldemar Brodkorb 11 years ago
parent
commit
55dc3ccccd
2 changed files with 3 additions and 4 deletions
  1. 1 2
      package/libxcb/Makefile
  2. 2 2
      package/xcb-proto/Makefile

+ 1 - 2
package/libxcb/Makefile

@@ -9,9 +9,8 @@ PKG_RELEASE:=		1
 PKG_MD5SUM:=		a484793fbfb974b09d54fa1ebf44b2e4
 PKG_DESCR:=		interface to the x window system protocol
 PKG_SECTION:=		x11/libs
-PKG_BUILDDEP:=		libXau-host libpthread-stubs-host xcb-proto-host
-PKG_BUILDDEP+=		libxcb-host
 PKG_BUILDDEP+=		python2 libpthread-stubs libxslt libXau xcb-proto
+HOST_BUILDDEP:=		libXau-host libpthread-stubs-host xcb-proto-host
 PKG_SITES:=		http://xcb.freedesktop.org/dist/
 PKG_OPTS:=		dev
 

+ 2 - 2
package/xcb-proto/Makefile

@@ -9,7 +9,8 @@ PKG_RELEASE:=		1
 PKG_DESCR:=		xml-xcb protocol descriptions
 PKG_SECTION:=		dev/header
 PKG_MD5SUM:=		2b9dc6442156aba2bfb4133cb9d7cf46
-PKG_BUILDDEP:=		autotool bzip2-host python2-host xcb-proto-host
+PKG_BUILDDEP:=		autotool
+HOST_BUILDDEP:=		python2-host
 PKG_SITES:=		http://xcb.freedesktop.org/dist/
 PKG_OPTS:=		dev devonly
 
@@ -40,7 +41,6 @@ post-build:
 	${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/xcb
 	${CP} ${WRKBUILD}/src/*.xml ${STAGING_TARGET_DIR}/usr/share/xcb
 	$(SED) 's|^\(xcbincludedir=\)|\1$(STAGING_TARGET_DIR)|' \
-		-e 's|^\(pythondir=\)|\1$(STAGING_TARGET_DIR)|' \
 		$(WRKBUILD)/xcb-proto.pc
 
 xcb-python-install: