Skip site navigation (1)Skip section navigation (2)
Date:      29 Oct 2002 22:13:33 -0000
From:      Faried Nawaz <fn@hungry.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44712: python port doesn't install symlink as 'python2'
Message-ID:  <20021029221333.947.qmail@homeworld.nilpotent.org>

next in thread | raw e-mail | index | archive | help

>Number:         44712
>Category:       ports
>Synopsis:       python port doesn't install symlink as 'python2'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 29 14:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Faried Nawaz
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD homeworld.nilpotent.org 4.7-RC FreeBSD 4.7-RC #4: Fri Sep 20 21:17:53 PKST 2002 root@homeworld.nilpotent.org:/data-one/obj/data-three/freebsd_src/sys/homeworld i386

Python port from the latest ports tree.

>Description:

The python port installs python, but doesn't do

ln -sf ${LOCALBASE}/bin/python ${LOCALBASE}/bin/python2

This is extremely useful to have -- a lot of scripts out there (especially
from linuxland) depend on #!/usr/bin/env python2 (since "python" may or may
not be python1.5).


>How-To-Repeat:

Install the python port.

>Fix:

ln -sf ${LOCALBASE}/bin/python ${LOCALBASE}/bin/python2

somewhere in the post-install stage.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021029221333.947.qmail>