ports/139586: [PATCH] games/wanderer: fix broken mtree with custom PREFIX
Sahil Tandon
sahil at tandon.net
Wed Oct 14 01:00:08 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list