summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/qemu/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index b989b7c68b3..55fd57b8f47 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2005/12/11 09:40:39 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2005/12/13 08:39:48 xtraeme Exp $
#
DISTNAME= qemu-0.7.2
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= emulators
MASTER_SITES= http://fabrice.bellard.free.fr/qemu/
@@ -21,11 +21,15 @@ GCC_REQD+= 3.0
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --interp-prefix=${PREFIX}/share/qemu
-SUBST_CLASSES+= snd
+SUBST_CLASSES+= snd smbd
SUBST_STAGE.snd= post-patch
SUBST_FILES.snd= audio/ossaudio.c
SUBST_SED.snd= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.snd= "Fixing hardcoded audio device."
+SUBST_STAGE.smbd= post-patch
+SUBST_FILES.smbd= vl.c
+SUBST_SED.smbd= -e "s,/usr/sbin/smbd,${PREFIX}/sbin/smbd,g"
+SUBST_MESSAGE.smbd= "Fixing hardcoded paths."
# Remove -march/-mcpu from CFLAGS, otherwise it will fail
# to build in the SSE code.