Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2007 11:46:32 +0200 (CEST)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wxs@atarininja.org
Subject:   ports/115806: [PATCH] emulators/qemu-launcher, use PREFIX
Message-ID:  <20070825094632.AC26D6D479@mail.rwxrwxrwx.net>
Resent-Message-ID: <200708250950.l7P9o2PE053019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070825094632.AC26D6D479>