ports/50407: mail/pyzor - installed scripts need Python path changed

Linh Pham question at closedsrc.org
Fri Mar 28 21:00:28 UTC 2003


>Number:         50407
>Category:       ports
>Synopsis:       mail/pyzor - installed scripts need Python path changed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 13:00:26 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Linh Pham
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD q.closedsrc.org 4.7-STABLE FreeBSD 4.7-STABLE #6: Sun Feb 9 10:35:14 PST 2003 question at q.closedsrc.org:/usr/obj/usr/src/sys/Q i386

>Description:

The pyzor and pyzord scripts installed under $PREFIX/bin for the mail/pyzor
port has an incorrect path to the Python executable. Currently, both scripts
start off with:

#!/usr/bin/python2

>How-To-Repeat:

Install the mail/pyzor port (PORTVERSION=0.4.0) and look at the first line
of the two installed scripts, pyzor and pyzord, under $PREFIX/bin.

>Fix:

Add a patch or a step in the port's Makefile to $PYTHON_CMD of the installed
Python port or executable. This could be done with two quick commands using
sed.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list