pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu Fix smbd's path (qemu's samba built in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/094f6eff2e0b
branches:  trunk
changeset: 504540:094f6eff2e0b
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Dec 13 08:39:48 2005 +0000

description:
Fix smbd's path (qemu's samba built in interface). Found by Richard
Earnshaw in PR pkg/32289.

Bump PKGREVISION.

diffstat:

 emulators/qemu/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r aa3f07d2c812 -r 094f6eff2e0b emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Mon Dec 12 22:49:32 2005 +0000
+++ b/emulators/qemu/Makefile   Tue Dec 13 08:39:48 2005 +0000
@@ -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 @@
 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.



Home | Main Index | Thread Index | Old Index