ports/139650: games/tuxpaint is broken with alternate LOCALBASE
Kris Moore
kmoore at FreeBSD.org
Thu Oct 15 18:10:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list