diff --git a/package/base/bison/bison.conf b/package/base/bison/bison.conf index e91d21f8a..8fff781cb 100644 --- a/package/base/bison/bison.conf +++ b/package/base/bison/bison.conf @@ -26,5 +26,9 @@ make_yacc() { chmod +x $root/usr/bin/yacc } -[ "$stagelevel" -le 1 ] && makeopt="datadir=${datadir#$root}" +if [ "$stagelevel" -le 1 ]; then + makeopt="datadir=${datadir#$root}" + premake="sed -i 's, examples , ,' Makefile" +fi + postmake="make_yacc"