Commit | Line | Data |
---|---|---|
2a86d5d9 FF |
1 | The Termux git package installs git perl files to $PREFIX/share/git-perl |
2 | by patching perl/Makefile.PL, so setup that path when building perl | |
3 | files in this Makefile. | |
4 | ||
5 | diff -u -r ../git-2.7.4/Makefile ./Makefile | |
6 | --- ../git-2.7.4/Makefile 2016-03-17 16:47:59.000000000 -0400 | |
7 | +++ ./Makefile 2016-03-24 22:46:20.335193973 -0400 | |
2a86d5d9 FF |
8 | @@ -1789,7 +1788,7 @@ |
9 | sed -e '1{' \ | |
10 | -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \ | |
11 | -e ' h' \ | |
12 | - -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "'"$$INSTLIBDIR"'"));=' \ | |
13 | + -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "'"@TERMUX_PREFIX@/share/git-perl"'"));=' \ | |
14 | -e ' H' \ | |
15 | -e ' x' \ | |
16 | -e '}' \ |