mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
mercurial: Fix hard-coded python path
This commit is contained in:
@@ -5,7 +5,7 @@ COPYRIGHT="2005-2012 Matt Mackall et al."
|
||||
LICENSE="GNU GPL v2"
|
||||
SRC_URI="http://mercurial.selenic.com/release/mercurial-2.2.2.tar.gz"
|
||||
CHECKSUM_MD5="9f59b5d71969cbb2671702cd2a7a5a11"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="mercurial-2.2.2.patch"
|
||||
@@ -16,7 +16,7 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
python
|
||||
cmd:python
|
||||
cmd:nano
|
||||
lib:libintl
|
||||
"
|
||||
@@ -24,7 +24,7 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
python
|
||||
cmd:python
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
@@ -38,12 +38,12 @@ SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
python setup.py build --force
|
||||
$portPackageLinksDir/cmd~python/bin/python setup.py build --force
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python setup.py install \
|
||||
$portPackageLinksDir/cmd~python/bin/python setup.py install \
|
||||
--prefix="$prefix" \
|
||||
--install-headers="$includedir" \
|
||||
--force
|
||||
|
||||
Reference in New Issue
Block a user