summaryrefslogtreecommitdiff
path: root/package/libXext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXext/Makefile')
-rw-r--r--package/libXext/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libXext/Makefile b/package/libXext/Makefile
index 1d60babd8..c01665b93 100644
--- a/package/libXext/Makefile
+++ b/package/libXext/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= 249478eae5c4fab7722894cb99565405
PKG_DESCR:= X client interface to extensions of the X protocol
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= libX11 xextproto
+PKG_BUILDDEP:= libX11 xextproto libXext-host
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_LIBNAME:= libxext
PKG_OPTS:= dev
@@ -18,14 +18,18 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
endif
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --disable-malloc0returnsnull
libxext-install:
${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk