ports/115806: [PATCH] emulators/qemu-launcher, use PREFIX
Martin Tournoij
carpetsmoker at xs4all.nl
Sat Aug 25 09:50:03 UTC 2007
>Number: 115806
>Category: ports
>Synopsis: [PATCH] emulators/qemu-launcher, use 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: Sat Aug 25 09:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Martin Tournoij
>Release: FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD phong.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 22 04:59:07 CET 2007 carpetsmoker at phong.carpetsmoker.net:/usr/obj/new/data/freebsd/src/sys/GENERIC i386
>Description:
emulators/qemu-launcher doesn't use PREFIX.
>How-To-Repeat:
>Fix:
--- qemu-launcher.diff begins here ---
--- Makefile.orig 2007-06-22 15:38:28.000000000 +0200
+++ Makefile 2007-08-25 11:44:40.000000000 +0200
@@ -7,6 +7,7 @@
PORTNAME= qemu-launcher
PORTVERSION= 1.7.4
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://download.gna.org/qemulaunch/1.7.x/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -28,6 +29,7 @@
MAN1= qemu-launcher.1
post-patch:
- @${REINPLACE_CMD} -e 's,usr,usr/local,g' ${WRKSRC}/qemu-launcher.pl
+ @${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/qemu-launcher.pl
+ @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
--- qemu-launcher.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list