aboutsummaryrefslogtreecommitdiff
path: root/lang/python27/pkg-plist
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2012-12-21 15:45:29 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2012-12-21 15:45:29 +0000
commit10277be714285a829695087454af943a5c114cb7 (patch)
tree1ce0a1d9c78a5f204de6da3d283e7d4286e31882 /lang/python27/pkg-plist
parent0309ba97629f2c608f2e2c6643414d771ce6a2c3 (diff)
Create python2 symlink for the latest version of python2.X executable and
python3 symlink for the latest version of python3.X executable. People who really want to use older python version for both python branches should specify explicit version number in interpreter invocation. Discussed on python@ long ago.
Notes
Notes: svn path=/head/; revision=309359
Diffstat (limited to 'lang/python27/pkg-plist')
-rw-r--r--lang/python27/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist
index ce9a979f2105..28e2f38fd799 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/pkg-plist
@@ -6,8 +6,10 @@ bin/idle%%PYVER%%
%%IF_DEFAULT%%bin/pydoc
bin/pydoc%%PYVER%%
%%IF_DEFAULT%%bin/python
+bin/python%%PYMAJOR%%
bin/python%%PYVER%%
%%IF_DEFAULT%%bin/python-config
+bin/python%%PYMAJOR%%-config
bin/python%%PYVER%%-config
%%IF_DEFAULT%%bin/python-shared
bin/python-shared%%PYVER%%