bin/144918: [patch] [pkg_install] Remove reference to /usr/X11R6/bin in PATH

Garrett Cooper gcooper at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 21 01:10:00 UTC 2010
>Originator:     Garrett Cooper
>Release:        9-CURRENT
Cisco Systems, Inc.
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
/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.


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 */
-	   "/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",
     /* Set a reasonable umask */


More information about the freebsd-bugs mailing list