summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/qemu-launcher/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/qemu-launcher/Makefile b/emulators/qemu-launcher/Makefile
index 9a433039c044..dadac68ed5b5 100644
--- a/emulators/qemu-launcher/Makefile
+++ b/emulators/qemu-launcher/Makefile
@@ -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 @@ USE_GETTEXT= yes
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>