summaryrefslogtreecommitdiff
path: root/package/bison
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-11 20:59:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-11 20:59:59 +0100
commit68f67458e8e92594227640b8dca1526646d09f87 (patch)
tree610285c36e685e428ba0ec6e6765f7fe3da868a2 /package/bison
parent7fa1799e3e3efeb3047af718839eb90c121af020 (diff)
use bison-host and flex-host
Diffstat (limited to 'package/bison')
-rw-r--r--package/bison/Makefile6
1 files changed, 5 insertions, 1 deletions
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