[include] Add git version check to prerequisite check (#11229)
[openwrt.git] / tools / bison / patches / 000-relocatable.patch
1 --- a/src/Makefile.am
2 +++ b/src/Makefile.am
3 @@ -81,6 +81,7 @@ MOSTLYCLEANFILES = yacc
4
5 yacc:
6 echo '#! /bin/sh' >$@
7 + echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
8 echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
9 chmod a+x $@
10
11 --- a/src/Makefile.in
12 +++ b/src/Makefile.in
13 @@ -1609,6 +1609,7 @@ uninstall-am: uninstall-binPROGRAMS unin
14
15 yacc:
16 echo '#! /bin/sh' >$@
17 + echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
18 echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
19 chmod a+x $@
20
This page took 0.049826 seconds and 5 git commands to generate.