bin/144918: [patch] [pkg_install] Remove reference to
/usr/X11R6/bin in PATH
Garrett Cooper
gcooper at FreeBSD.org
Sun Mar 21 01:10:02 UTC 2010
>Number: 144918
>Category: bin
>Synopsis: [patch] [pkg_install] Remove reference to /usr/X11R6/bin in PATH
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 21 01:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r205310: Sat Mar 20 01:32:51 PDT 2010 gcooper at bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64
>Description:
/usr/X11R6 hasn't been in the base system with FreeBSD for quite a while now; yank the reference to it in $PATH which gets passed via pkg_add.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/usr.sbin/pkg_install/add/main.c#1 - /scratch/freebsd/perforce/pkg_install-enhancements/usr.sbin/pkg_install/add/main.c ====
@@ -279,7 +279,7 @@
}
/* Make sure the sub-execs we invoke get found */
setenv("PATH",
- "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin",
+ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin",
1);
/* Set a reasonable umask */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list