summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-16 16:40:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-16 16:40:44 +0100
commitd96c0b112460f4940a8a26617019fbef762ec49e (patch)
treee70daa5dafaa18399d99437dc605c917bee36af2 /package
parent3ea82668f719898904b8fc337934c64f8715b2c8 (diff)
use xproto-host
Diffstat (limited to 'package')
-rw-r--r--package/libX11/Makefile3
-rw-r--r--package/libxml2/Makefile1
-rw-r--r--package/xproto/Makefile6
3 files changed, 9 insertions, 1 deletions
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
index 6b5594045..78078cf83 100644
--- a/package/libX11/Makefile
+++ b/package/libX11/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= 395455e4d3a51459374fe5ca8420aae8
PKG_DESCR:= X11 client-side library
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= xproto xextproto xtrans libXdmcp libXau xcb-proto
+PKG_BUILDDEP:= xproto-host
+PKG_BUILDDEP+= xproto xextproto xtrans libXdmcp libXau xcb-proto
PKG_BUILDDEP+= xcmiscproto bigreqsproto kbproto inputproto libxcb
PKG_DEPENDS:= libxdmcp libxcb libxau
PKG_SITES:= ${MASTER_SITE_XORG}
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile
index 2bac9ea1b..dbcfcef86 100644
--- a/package/libxml2/Makefile
+++ b/package/libxml2/Makefile
@@ -35,6 +35,7 @@ include $(TOPDIR)/mk/python.mk
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS+= --without-python
+HOST_MAKE_FLAGS+= LDFLAGS=-lpthread
AUTOTOOL_STYLE:= autoreconf
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
diff --git a/package/xproto/Makefile b/package/xproto/Makefile
index 3113dede3..5c123c089 100644
--- a/package/xproto/Makefile
+++ b/package/xproto/Makefile
@@ -9,11 +9,17 @@ PKG_RELEASE:= 1
PKG_DESCR:= X Window System Core Protocol headers
PKG_SECTION:= devel
PKG_MD5SUM:= 7ab1239930563a352cb3552fd2db4140
+PKG_BUILDDEP:= xproto-host
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_OPTS:= dev devonly
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
+
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk