diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-09 14:28:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-09 14:28:48 +0000 |
commit | 4490cc85bcf6bbc5341c481611b3be9cbf761474 (patch) | |
tree | c024190d152054ba65fa0748ec53f922546db606 /emulators/xmame | |
parent | 9559a3dae62a02908f7da7b6cbee67357259aa4f (diff) | |
download | pkgsrc-4490cc85bcf6bbc5341c481611b3be9cbf761474.tar.gz |
Modular Xorg support.
Diffstat (limited to 'emulators/xmame')
-rw-r--r-- | emulators/xmame/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 192805a494d..a668c0f232d 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.148 2007/01/07 09:13:53 rillig Exp $ +# $NetBSD: Makefile,v 1.149 2007/02/09 14:28:48 joerg Exp $ # DISTNAME= xmame-0.106 @@ -57,11 +57,19 @@ MAKE_FLAGS+= DISPLAY_METHOD=${MAME_DISP_METHOD:Q} MAKE_FLAGS+= MY_CPU="${MAME_CPU.${MACHINE_ARCH}}" MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}" -.if exists(${X11BASE}/include/X11/extensions/xf86dga.h) +.if ${X11_TYPE} == "modular" +.include "../../x11/libXv/buildlink3.mk" +.include "../../x11/libXxf86dga/buildlink3.mk" +.include "../../x11/libXxf86vm/buildlink3.mk" MAKE_FLAGS+= X11_DGA=1 -.endif -.if exists(${X11BASE}/include/X11/extensions/Xv.h) MAKE_FLAGS+= X11_XV=1 +.else +. 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 .endif # If supported, add appropriate definitions to build joystick drivers. @@ -113,5 +121,6 @@ SUBST_SED.pragma= -e "s|\#pragma once||g" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" -.include "../../mk/x11.buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/xextproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |