From nobody@FreeBSD.org  Thu Oct 15 18:09:22 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 59D181065676
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Oct 2009 18:09:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A34B8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Oct 2009 18:09:22 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9FI9LUg071187
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Oct 2009 18:09:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9FI9LoX071174;
	Thu, 15 Oct 2009 18:09:21 GMT
	(envelope-from nobody)
Message-Id: <200910151809.n9FI9LoX071174@www.freebsd.org>
Date: Thu, 15 Oct 2009 18:09:21 GMT
From: Kris Moore <kmoore@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: games/tuxpaint is broken with alternate LOCALBASE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139650
>Category:       ports
>Synopsis:       games/tuxpaint is broken with alternate LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    alepulver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 15 18:10:02 UTC 2009
>Closed-Date:    Wed Nov 11 21:59:06 UTC 2009
>Last-Modified:  Wed Nov 11 22:00:10 UTC 2009
>Originator:     Kris Moore
>Release:        7.2-Stable
>Organization:
PC-BSD Software
>Environment:
FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #3: Mon Oct  5 10:30:23 EDT 2009     kris@pcbsd:/usr/obj/usr/src/sys/PCBSD.i386  i386
>Description:
The tuxpaint port has /usr/local hard-coded in a few places, which causes the application to fail when it is built / run in a different LOCALBASE.
>How-To-Repeat:

>Fix:
Apply attached patch file and rebuild the port. 

Patch attached with submission follows:

--- tuxpaint/Makefile.orig	2009-10-15 17:20:18.000000000 +0000
+++ tuxpaint/Makefile	2009-10-15 17:28:15.000000000 +0000
@@ -24,8 +24,14 @@
 MAN1=		tp-magic-config.1 tuxpaint.1 tuxpaint-import.1
 MANCOMPRESSED=	yes
 
-.if defined(NOPORTDOCS)
 post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+			${WRKSRC}/${MAKEFILE} \
+			${WRKSRC}/src/tuxpaint-import.sh \
+			${WRKSRC}/src/tp_magic_api.h.in \
+			${WRKSRC}/src/tuxpaint.conf \
+			${WRKSRC}/hildon/tuxpaint.conf
+.if defined(NOPORTDOCS)
 	@${REINPLACE_CMD} -e 's|install-doc\([^:]\)|\1|' ${WRKSRC}/${MAKEFILE}
 .endif
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->alepulver 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Oct 15 18:10:15 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139650 
State-Changed-From-To: open->closed 
State-Changed-By: kmoore 
State-Changed-When: Wed Nov 11 21:59:05 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139650: commit references a PR
Date: Wed, 11 Nov 2009 21:57:59 +0000 (UTC)

 kmoore      2009-11-11 21:57:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/tuxpaint       Makefile 
   Log:
   - Fix runtime issues when using CUSTOM prefix
   
   PR: 139650
   Submitted by: myself
   Approved by: Maintainer Timeout
   Approved by: miwi (mentor)
   
   Revision  Changes    Path
   1.17      +7 -1      ports/games/tuxpaint/Makefile
 _______________________________________________
 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:
