diff options
author | joerg <joerg> | 2007-02-07 19:20:12 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-02-07 19:20:12 +0000 |
commit | 85a7dbd303b7d0775e3b4f0049e50e8646de3e8d (patch) | |
tree | 7aa5f33277e6c13c5d722cece3c6850011de3944 /emulators | |
parent | 0102df9079922933a2da68b80735484ea5a31acb (diff) | |
download | pkgsrc-85a7dbd303b7d0775e3b4f0049e50e8646de3e8d.tar.gz |
Modular Xorg support. Add note about support for Xinerama and XInput,
but keep the status quo.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xmess/Makefile | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index 52312053538..3fc4b2e42dc 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2007/01/07 09:13:53 rillig Exp $ +# $NetBSD: Makefile,v 1.89 2007/02/07 19:20:12 joerg Exp $ # DISTNAME= xmame-0.106 @@ -58,11 +58,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. @@ -76,6 +84,10 @@ MAKE_FLAGS+= JOY_USB=1 . endif .endif +# This should be supported with the proper defines +#.include "../../x11/libXi/buildlink3.mk" +#.include "../../x11/libXinerama/buildlink3.mk" + OWN_DIRS= ${SPOOLDIR} INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 @@ -108,5 +120,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" |