projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee19813
)
GENTOO_PATH_PYTHON: be resistant against pre-exported PORTAGE_PYTHON
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 13 Dec 2010 21:36:26 +0000
(22:36 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 13 Dec 2010 21:36:26 +0000
(22:36 +0100)
acinclude.m4
patch
|
blob
|
history
diff --git
a/acinclude.m4
b/acinclude.m4
index 07714f3a10c20186cad4f79e2779a75995af1504..47c537fc99440115f0d9fa5786d2b791f81bd1f0 100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-16,7
+16,9
@@
dnl GENTOO_PATH_PYTHON([minimum-version], [path])
dnl author: Fabian Groffen <grobian a gentoo.org>
AC_DEFUN([GENTOO_PATH_PYTHON],
[
- AC_PATH_PROG([PORTAGE_PYTHON], [python], no, $2)
+ AC_PATH_PROG([HERE_PORTAGE_PYTHON], [python], no, $2)
+ dnl Portage's ebuild.sh defines PORTAGE_PYTHON itself now :(
+ PORTAGE_PYTHON="$HERE_PORTAGE_PYTHON"
dnl is is there at all?
if test "$PORTAGE_PYTHON" = "no" ; then