summaryrefslogtreecommitdiff
path: root/emulators/xmame/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-08-23 19:25:40 +0000
committertron <tron@pkgsrc.org>1998-08-23 19:25:40 +0000
commit69dfee3ca9ee7eec6ca0a65057ccdb7e3738a148 (patch)
tree4355775bbced9430bde43a81aaaf8b4f03ed233d /emulators/xmame/Makefile
parent9675e65a9cb306a1ce662e84b4f7e8f656a90c18 (diff)
downloadpkgsrc-69dfee3ca9ee7eec6ca0a65057ccdb7e3738a148.tar.gz
Activate joystick supports on all ports which have it not only on i386.
Diffstat (limited to 'emulators/xmame/Makefile')
-rw-r--r--emulators/xmame/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 8f2c8eca1b2..465fdb77b2b 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1998/08/20 15:16:53 tsarna Exp $
+# $NetBSD: Makefile,v 1.12 1998/08/23 19:25:40 tron Exp $
#
DISTNAME= xmame-0.33b6.1
@@ -18,9 +18,15 @@ USE_X11= yes
USE_GMAKE= yes
MAKE_ENV+= OPSYS=${OPSYS} ARCH=${ARCH} DESTDIR=${DESTDIR} \
INSTALL_MAN="${INSTALL_MAN}" \
- INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ NETBSD_JOYSTICK="${NETBSD_JOYSTICK}"
MAMEDIR= ${PREFIX}/share/mame
+.if exists(/usr/include/machine/joystick.h)
+NETBSD_JOYSTICK= yes
+.else
+NETBSD_JOYSTICK= no
+.endif
post-patch:
${CP} ${WRKSRC}/makefile.unix ${WRKSRC}/Makefile