diff options
Diffstat (limited to 'sys-process/prll/files/0.5-prefix.patch')
-rw-r--r-- | sys-process/prll/files/0.5-prefix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-process/prll/files/0.5-prefix.patch b/sys-process/prll/files/0.5-prefix.patch new file mode 100644 index 000000000000..dcf2314fb5d0 --- /dev/null +++ b/sys-process/prll/files/0.5-prefix.patch @@ -0,0 +1,30 @@ +diff --git a/prll.sh b/prll.sh +index 45a4fa4..f3ec39f 100644 +--- a/prll.sh ++++ b/prll.sh +@@ -41,7 +41,7 @@ function prll() { + EOF + [[ -z "$1" ]] && return 1 || return 0 + fi +- /usr/bin/which prll_qer > /dev/null ++ @GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_qer > /dev/null + if [[ $? -ne 0 ]] ; then + echo "PRLL: Missing prll_qer." 1>&2 + return 1 +@@ -51,14 +51,14 @@ function prll() { + local prll_unbuffer=yes + shift + else +- /usr/bin/which prll_bfr > /dev/null ++ @GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_bfr > /dev/null + if [[ $? -ne 0 ]] ; then + echo "PRLL: Missing prll_bfr." 1>&2 + return 1 + fi + fi + if [[ -z $PRLL_NR_CPUS ]] ; then +- /usr/bin/which grep > /dev/null ++ @GENTOO_PORTAGE_EPREFIX@/usr/bin/which grep > /dev/null + if [[ $? -ne 0 || ! -a /proc/cpuinfo ]] ; then + echo "PRLL: Environment variable PRLL_NR_CPUS is not set" 1>&2 + echo "PRLL: and either the grep utility is missing or" 1>&2 |