Date: Tue, 13 Oct 2009 20:53:02 -0400 (EDT) From: Sahil Tandon <sahil@tandon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139586: [PATCH] games/wanderer: fix broken mtree with custom PREFIX Message-ID: <20091014005302.311D61709E@spartan.hamla.org> Resent-Message-ID: <200910140100.n9E107fC042587@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139586 >Category: ports >Synopsis: [PATCH] games/wanderer: fix broken mtree with custom PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 14 01:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sahil Tandon >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: >Description: Port does not respect custom PREFIX. Reported by QATty: http://qatty.tecnik93.com//errors/7-STABLE-FPT-CustDir/wanderer-3.2.log >How-To-Repeat: Install port with custom PREFIX. >Fix: --- wanderer.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/games/wanderer/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 23 Dec 2004 04:47:34 -0000 1.1 +++ Makefile 14 Oct 2009 00:44:48 -0000 @@ -21,4 +21,7 @@ MAKE_ENV+= DOCSDIR="${DOCSDIR}" MKDIR="${MKDIR}" CHOWN="${CHOWN}" \ CHGRP="${CHGRP}" CHMOD="${CHMOD}" TOUCH="${TOUCH}" +post-patch: + @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile + .include <bsd.port.mk> --- wanderer.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091014005302.311D61709E>