Bug 70831

Summary: make perl5.8 port SU_CMD aware
Product: Ports & Packages Reporter: Hiroo Ono <hiroo+freebsd>
Component: Individual Port(s)Assignee: Anton Berezin <tobez>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
perl5.8-Makefile.diff none

Description Hiroo Ono 2004-08-22 20:40:27 UTC
	The pre-install and post-install target of lang/perl5.8 port
	do not check the case that user id is not 0. To enable portupgrade
	work running with user privilege, use SU_CMD in such cases.

Fix: The patch to Makefile is attached.
	Note that I have a machine that place WRKDIR on a NFS partition
	for some reason, I'd like to run portupgrade with non-root user
	privilege and make use of SU_CMD.
How-To-Repeat: 	run make install without root privilege in lang/perl5.8
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2004-08-22 20:55:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tobez

Over to Maintainer
Comment 2 skv freebsd_committer freebsd_triage 2008-11-21 11:44:45 UTC
State Changed
From-To: open->closed

Ports system _is_ SU_CMD aware. 

Installation of lang/perl5.8 works from non-root 
account with defined SU_CMD (ex. in your environment).