From 23539ccff75b58e35d5daa2bbc74090856955af8 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Wed, 11 Nov 2009 21:57:45 +0000 Subject: [PATCH] - Fix runtime issues when using CUSTOM prefix PR: 139650 Submitted by: myself Approved by: Maintainer Timeout Approved by: miwi (mentor) --- games/tuxpaint/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index 8e46e49019e1..ca34f92d6585 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -24,8 +24,14 @@ USE_SDL= image mixer sdl ttf pango 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