From 68f67458e8e92594227640b8dca1526646d09f87 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 11 Nov 2013 20:59:59 +0100 Subject: use bison-host and flex-host --- package/bison/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package/bison') diff --git a/package/bison/Makefile b/package/bison/Makefile index 5bc18eae0..aaef1b631 100644 --- a/package/bison/Makefile +++ b/package/bison/Makefile @@ -12,11 +12,14 @@ PKG_SECTION:= lang PKG_URL:= http://www.gnu.org/software/bison/ PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/} +include ${TOPDIR}/mk/host.mk include ${TOPDIR}/mk/package.mk +$(eval $(call HOST_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -XAKE_FLAGS+= M4=m4 +HOST_STYLE:= auto +#XAKE_FLAGS+= M4=m4 bison-install: ${INSTALL_DIR} ${IDIR_BISON}/usr/bin ${IDIR_BISON}/usr/share/bison @@ -24,4 +27,5 @@ bison-install: ${CP} ${WRKINST}/usr/share/bison/* ${IDIR_BISON}/usr/share/bison $(CP) ./files/yacc ${IDIR_BISON}/usr/bin +include ${TOPDIR}/mk/host-bottom.mk include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3