summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsutsui <tsutsui>2010-08-09 11:49:10 +0000
committertsutsui <tsutsui>2010-08-09 11:49:10 +0000
commitbef8b5ff749d86579b8a71422cb8efc22c22b325 (patch)
treefe50c96572d4cef00e3f895b5c6ed3b656796a7d
parent90fedd6b1cfd3e89d08ee0f770935eaa40b30afe (diff)
downloadpkgsrc-bef8b5ff749d86579b8a71422cb8efc22c22b325.tar.gz
- remove obsolete SUBST_foo lines
- use less wildcard for SUBST_FILES.qaudio so that we won't miss valid "Nothing changed" warnings
-rw-r--r--emulators/qemu/Makefile41
1 files changed, 19 insertions, 22 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 12450d55c73..94f08068811 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2010/06/16 18:31:27 tnn Exp $
+# $NetBSD: Makefile,v 1.69 2010/08/09 11:49:10 tsutsui Exp $
#
DISTNAME= qemu-0.12.4
@@ -30,33 +30,30 @@ CONFIGURE_ENV+= mansuffix=/${PKGMANDIR}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --interp-prefix=${PREFIX:Q}/share/qemu
-.if !empty(MACHINE_PLATFORM:MNetBSD-*)
-SUBST_CLASSES+= lib
-SUBST_STAGE.lib= pre-configure
-SUBST_FILES.lib= x86_64.ld
-SUBST_SED.lib= -e s,/lib64,/lib,g
-SUBST_MESSAGE.lib= fixing hardcoded paths to libraries.
-.endif
-
-SUBST_CLASSES+= snd
-SUBST_STAGE.snd= pre-configure
-SUBST_FILES.snd= audio/ossaudio.c
-SUBST_SED.snd= -e s,/dev/dsp,${DEVOSSAUDIO:Q},g
-SUBST_MESSAGE.snd= Fixing hardcoded audio device.
-
-SUBST_CLASSES+= smbd
-SUBST_STAGE.smbd= pre-configure
-SUBST_FILES.smbd= vl.c
-SUBST_SED.smbd= -e s,/usr/sbin/smbd,${PREFIX:Q}/sbin/smbd,g
-SUBST_MESSAGE.smbd= Fixing hardcoded paths.
-
# Avoid clash with system include file:
pre-patch:
mv ${WRKSRC}/audio/audio.h ${WRKSRC}/audio/qaudio.h
SUBST_CLASSES+= qaudio
SUBST_STAGE.qaudio= pre-configure
-SUBST_FILES.qaudio= *.c *.h audio/*.c hw/*.c
+SUBST_FILES.qaudio= monitor.c savevm.c vl.c vnc.h \
+ audio/*.c \
+ hw/ac97.c \
+ hw/adlib.c \
+ hw/cs4231a.c \
+ hw/es1370.c \
+ hw/gus.c \
+ hw/marvell_88w8618_audio.c \
+ hw/mips_jazz.c \
+ hw/mips_malta.c \
+ hw/omap2.c \
+ hw/palm.c \
+ hw/pc.c \
+ hw/pcspk.c \
+ hw/sb16.c \
+ hw/spitz.c \
+ hw/tsc210x.c \
+ hw/wm8750.c
SUBST_SED.qaudio= -e s,audio.h\",qaudio.h\",g
SUBST_MESSAGE.qaudio= Fixing audio.h confusion