summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-12-13 08:39:48 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-12-13 08:39:48 +0000
commite30267921e22f034df6c3fe58df6d0214c0649b4 (patch)
tree185e6c631b2241ee8e4f29ad7ab19dc675cbdf95 /emulators/qemu
parent794610bcb919b944ed51f5fc6ebe938bd284b5ce (diff)
downloadpkgsrc-e30267921e22f034df6c3fe58df6d0214c0649b4.tar.gz
Fix smbd's path (qemu's samba built in interface). Found by Richard
Earnshaw in PR pkg/32289. Bump PKGREVISION.
Diffstat (limited to 'emulators/qemu')
-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.