From tmclaugh@FreeBSD.org  Thu Jul  5 01:28:39 2007
Return-Path: <tmclaugh@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1DD3416A41F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  5 Jul 2007 01:28:39 +0000 (UTC)
	(envelope-from tmclaugh@FreeBSD.org)
Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11])
	by mx1.freebsd.org (Postfix) with ESMTP id D029F13C44B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  5 Jul 2007 01:28:38 +0000 (UTC)
	(envelope-from tmclaugh@FreeBSD.org)
Received: from bofh.straycat.dhs.org (bofh.straycat.dhs.org [192.168.1.127])
	by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l651SbIO007058;
	Wed, 4 Jul 2007 21:28:38 -0400 (EDT)
Message-Id: <1183598918.89982@bofh.straycat.dhs.org>
Date: Wed, 4 Jul 2007 21:28:38 -0400
From: "Tom McLaughlin" <tmclaugh@FreeBSD.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc: r.c.ladan@gmail.com
Subject: sysutils/libchk: Ignore locations under /usr/X11R6
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify: r.c.ladan@gmail.com

>Number:         114309
>Category:       ports
>Synopsis:       sysutils/libchk: Ignore locations under /usr/X11R6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tmclaugh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 05 01:30:02 GMT 2007
>Closed-Date:    Sun Aug 26 00:11:22 GMT 2007
>Last-Modified:  Sun Aug 26 00:11:22 GMT 2007
>Originator:     Tom McLaughlin
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #0: Tue Jun 19 03:46:08 EDT 2007
    tom@bofh:/usr/obj/usr/src/sys/GENERIC_ULE



>Description:


Attached patch causes libchk to ignore the following directories automatically since
they are really locations under /usr/local now.

/usr/X11R6/bin
/usr/X11R6/lib
/usr/X11R6/libexec
/usr/X11R6/sbin

Man page is also updated.


>How-To-Repeat:





>Fix:


--- patch-libchk.rb begins here ---
--- libchk.rb.orig	Fri May 14 13:11:09 2004
+++ libchk.rb	Wed Jul  4 19:32:11 2007
@@ -60,7 +60,12 @@
     "#{$x11base}/sbin",
   ]
 
-  $exclude_dirs = []
+  $exclude_dirs = [
+    "#{$x11base}/bin",
+    "#{$x11base}/lib",
+    "#{$x11base}/libexec",
+    "#{$x11base}/sbin",
+  ]
 end
 
 def main(argv)
--- patch-libchk.rb ends here ---
--- patch-libchk.1 begins here ---
--- libchk.1.orig	Sun May  2 14:56:10 2004
+++ libchk.1	Wed Jul  4 19:17:13 2007
@@ -37,9 +37,6 @@
 .It Pa $LOCALBASE/bin
 .It Pa $LOCALBASE/libexec
 .It Pa $LOCALBASE/sbin
-.It Pa $X11BASE/bin
-.It Pa $X11BASE/libexec
-.It Pa $X11BASE/sbin
 .El
 .Pp
 And the directories listed in
@@ -123,9 +120,6 @@
 .It Ev LOCALBASE
 The local base directory. (default:
 .Pa /usr/local )
-.It Ev X11BASE
-The X11 base directory. (default:
-.Pa /usr/X11R6 )
 .El
 .Sh SEE ALSO
 .Xr ldconfig 8
--- patch-libchk.1 ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tmclaugh 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 5 01:30:15 UTC 2007 
Responsible-Changed-Why:  
Submitter has GNATS access 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114309 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Jul 5 01:30:27 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114309 
State-Changed-From-To: feedback->closed 
State-Changed-By: tmclaugh 
State-Changed-When: Sun Aug 26 00:08:47 UTC 2007 
State-Changed-Why:  
Closing this PR in favor of 113099. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114309 
>Unformatted:
