diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 3787fea7d81..1e43aac98b0 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -4,7 +4,7 @@ # pkgname=python version=2.7.11 -revision=8 +revision=9 wrksrc="Python-${version}" hostmakedepends="pkg-config" makedepends=" @@ -24,7 +24,6 @@ alternatives=" python:2to3:/usr/bin/2to3-2.7 python:pydoc:/usr/bin/pydoc2.7 python:python:/usr/bin/python2.7 - python:python2:/usr/bin/python2.7 python:python.1:/usr/share/man/man1/python2.7.1" pre_configure() { @@ -64,6 +63,7 @@ do_build() { do_install() { export PATH="$PATH:$wrksrc/hostpython" make DESTDIR=${DESTDIR} altinstall + ln -sf python2.7 ${DESTDIR}/usr/bin/python2 ln -sf python2.7-config ${DESTDIR}/usr/bin/python-config }