summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-12-13 08:39:48 +0000
committerxtraeme <xtraeme>2005-12-13 08:39:48 +0000
commit0b49d7d304aa5510ab7c741468ada9041d9a9af0 (patch)
tree185e6c631b2241ee8e4f29ad7ab19dc675cbdf95 /emulators
parent6abca4691bf016709accbb2c74bc6027f1e0599c (diff)
downloadpkgsrc-0b49d7d304aa5510ab7c741468ada9041d9a9af0.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')
-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.