summaryrefslogtreecommitdiff
path: root/emulators/xmess
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2002-12-21 21:35:17 +0000
committerkristerw <kristerw@pkgsrc.org>2002-12-21 21:35:17 +0000
commit0d1b835e0e84cba43e0a2ffd9d481ed138e2a3e8 (patch)
tree256ac55ec1cfe7caad770bb402b8e2f63f10f806 /emulators/xmess
parenta54eb59262581484540abfb3716f9f24ecdf342e (diff)
downloadpkgsrc-0d1b835e0e84cba43e0a2ffd9d481ed138e2a3e8.tar.gz
Enable XV and esound support. Thanks to Juan RP.
PKGREVISION++
Diffstat (limited to 'emulators/xmess')
-rw-r--r--emulators/xmess/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index 570706cd6c6..41ed7006355 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2002/12/14 15:14:26 kristerw Exp $
+# $NetBSD: Makefile,v 1.29 2002/12/21 21:35:38 kristerw Exp $
#
DISTNAME= xmame-0.62.1-rc3
PKGNAME= xmess-0.62.1
+PKGREVISION= 1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
@@ -36,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
@@ -66,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) || \
@@ -100,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"