From erik@smluc.org  Sun Dec  3 01:01:20 2006
Return-Path: <erik@smluc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1641B16A403
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Dec 2006 01:01:20 +0000 (UTC)
	(envelope-from erik@smluc.org)
Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 72FED43C9D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Dec 2006 01:00:56 +0000 (GMT)
	(envelope-from erik@smluc.org)
Received: by phoenix.smluc.org (Postfix, from userid 1000)
	id A99BB1CE55; Sat,  2 Dec 2006 19:02:45 -0600 (CST)
Message-Id: <20061203010245.A99BB1CE55@phoenix.smluc.org>
Date: Sat,  2 Dec 2006 19:02:45 -0600 (CST)
From: Erik Greenwald <erik@smluc.org>
Reply-To: Erik Greenwald <erik@smluc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: erikg@arl.army.mil
Subject: [Maintainer Update]  cad/brlcad  fix for "odd location" X11BASE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106245
>Category:       ports
>Synopsis:       [Maintainer Update]  cad/brlcad  fix for "odd location" X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 03 01:10:08 GMT 2006
>Closed-Date:    Tue Dec 05 21:46:32 GMT 2006
>Last-Modified:  Tue Dec  5 21:50:13 GMT 2006
>Originator:     Erik Greenwald
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD fenris 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Oct 10 16:58:15 EDT 2006 erik@fenris:/usr/obj/usr/src/sys/FENRIS i386

>Description:

Figure "odd location" X installs. Tested using X11BASE=/usr/Xorg and
seems to work fine. A real fix has already been committed to the 
sourceforge repository, this is just a stopgap until the next release.
http://brlcad.cvs.sourceforge.net/brlcad/brlcad/configure.ac?r1=14.272&r2=14.273

Thanks!

>How-To-Repeat:
>Fix:

--- cad-brlcad.patch begins here ---
Index: cad/brlcad/Makefile
===================================================================
RCS file: /home/ncvs/ports/cad/brlcad/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- cad/brlcad/Makefile	1 Nov 2006 06:35:52 -0000	1.18
+++ cad/brlcad/Makefile	3 Dec 2006 00:57:16 -0000
@@ -175,6 +175,9 @@
 .endif
 .endif
 
+post-patch:
+	${REINPLACE_CMD} "s+/usr/X11R6+${X11BASE}+" ${WRKSRC}/configure
+
 pre-install:
 	${CP} ${FILESDIR}/mged.sh ${WRKSRC}
 	${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}+g;'	\
--- cad-brlcad.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: shaun 
Responsible-Changed-When: Sun Dec 3 01:39:16 UTC 2006 
Responsible-Changed-Why:  
Grab, since I have another PR for this port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106245 
State-Changed-From-To: open->closed 
State-Changed-By: shaun 
State-Changed-When: Tue Dec 5 21:46:20 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106245 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106245: commit references a PR
Date: Tue,  5 Dec 2006 21:45:25 +0000 (UTC)

 shaun       2006-12-05 21:45:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     cad/brlcad           Makefile 
   Added files:
     cad/brlcad/files     patch-include_machine.h 
   Log:
   - Fix build on sparc64. [1]
   - Respect ${X11BASE}. [2]
   
   PR:             ports/105535 [1], ports/106245 [2]
   Submitted by:   Erik Greenwald <erik@smluc.org> (maintainer)
   
   Revision  Changes    Path
   1.19      +3 -0      ports/cad/brlcad/Makefile
   1.1       +31 -0     ports/cad/brlcad/files/patch-include_machine.h (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
