diff options
author | kristerw <kristerw> | 2002-12-21 21:35:17 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-12-21 21:35:17 +0000 |
commit | ceb5afece42c61c0cce04f6ea9b0282632a6ddc8 (patch) | |
tree | 256ac55ec1cfe7caad770bb402b8e2f63f10f806 /emulators/xmame/Makefile | |
parent | 1cd048ff3f74ee7f491aed4bc3ae6cdede679e20 (diff) | |
download | pkgsrc-ceb5afece42c61c0cce04f6ea9b0282632a6ddc8.tar.gz |
Enable XV and esound support. Thanks to Juan RP.
PKGREVISION++
Diffstat (limited to 'emulators/xmame/Makefile')
-rw-r--r-- | emulators/xmame/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 2033dd58288..b08c1b07c4d 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.85 2002/12/14 14:59:38 kristerw Exp $ +# $NetBSD: Makefile,v 1.86 2002/12/21 21:35:17 kristerw Exp $ # DISTNAME= xmame-0.62.1-rc3 PKGNAME= xmame-0.62.1 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= emulators games x11 MASTER_SITES= http://x.mame.net/download/ EXTRACT_SUFX= .tar.bz2 @@ -37,6 +37,7 @@ MAKE_FLAGS+= TARGET="${TARGET:S/x//}" MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}" MAKE_FLAGS+= CFLAGS="${CFLAGS}" MAKE_FLAGS+= X11INC= X11LIB= +MAKE_FLAGS+= SOUND_ESOUND=1 MAME_DISP_METHOD?= x11 @@ -67,6 +68,9 @@ MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}" .if exists(${X11BASE}/include/X11/extensions/xf86dga.h) MAKE_FLAGS+= X11_DGA=1 .endif +.if exists(${X11BASE}/include/X11/extensions/Xv.h) +MAKE_FLAGS+= X11_XV=1 +.endif # If supported, add appropriate definitions to build joystick drivers. .if exists(/usr/include/machine/joystick.h) || \ @@ -101,6 +105,7 @@ do-install: ${INSTALL_DATA_DIR} ${ROMPATH} ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc +.include "../../audio/esound/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |