From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 15 18:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABACD1065692 for ; Thu, 15 Oct 2009 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 89DF08FC17 for ; Thu, 15 Oct 2009 18:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9FIA26Q043407 for ; Thu, 15 Oct 2009 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9FIA2r0043406; Thu, 15 Oct 2009 18:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 15 Oct 2009 18:10:02 GMT Resent-Message-Id: <200910151810.n9FIA2r0043406@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kris Moore Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59D181065676 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139650: games/tuxpaint is broken with alternate LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 18:10:02 -0000 >Number: 139650 >Category: ports >Synopsis: games/tuxpaint is broken with alternate LOCALBASE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 15 18:10:02 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: