summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/bison/Makefile3
-rwxr-xr-xpackage/bison/files/yacc2
2 files changed, 4 insertions, 1 deletions
diff --git a/package/bison/Makefile b/package/bison/Makefile
index fd31a0fe7..f468e1576 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= bison
PKG_VERSION:= 2.4.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= ea45c778b36bdc7a720096819e292a73
PKG_DESCR:= GNU parser generator
PKG_SECTION:= lang
@@ -20,5 +20,6 @@ post-install:
${INSTALL_DIR} ${IDIR_BISON}/usr/bin ${IDIR_BISON}/usr/share/bison
${INSTALL_BIN} ${WRKINST}/usr/bin/bison ${IDIR_BISON}/usr/bin
${CP} ${WRKINST}/usr/share/bison/* ${IDIR_BISON}/usr/share/bison
+ $(CP) ./files/yacc ${IDIR_BISON}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bison/files/yacc b/package/bison/files/yacc
new file mode 100755
index 000000000..8681b8f54
--- /dev/null
+++ b/package/bison/files/yacc
@@ -0,0 +1,2 @@
+#!/bin/sh
+bison -y "$@"