From 0b49d7d304aa5510ab7c741468ada9041d9a9af0 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 13 Dec 2005 08:39:48 +0000 Subject: Fix smbd's path (qemu's samba built in interface). Found by Richard Earnshaw in PR pkg/32289. Bump PKGREVISION. --- emulators/qemu/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'emulators/qemu') 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. -- cgit v1.2.3