From cfd16e3b8ff9d2e1e130a0ced333869264629354 Mon Sep 17 00:00:00 2001 From: hira Date: Fri, 15 Apr 2005 15:20:47 +0000 Subject: Add PLIST_SUBST for the DGA extension. --- meta-pkgs/xorg/Makefile.common | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'meta-pkgs') diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common index 49af090d93f..1101a982fcd 100644 --- a/meta-pkgs/xorg/Makefile.common +++ b/meta-pkgs/xorg/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2005/04/07 23:39:08 hira Exp $ +# $NetBSD: Makefile.common,v 1.27 2005/04/15 15:20:47 hira Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -159,6 +159,15 @@ EGDIR?= ${LOCALBASE}/share/examples/xorg PLIST_SUBST+= X11ROOT_PREFIX=${X11ROOT_PREFIX} MESSAGE_SUBST+= X11ROOT=${X11ROOT} +.if ${OPSYS} != "Darwin" +. if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \ + !empty(MACHINE_ARCH:Msparc64) +PLIST_SUBST+= DGA= +. else +PLIST_SUBST+= DGA='@comment ' +. endif +.endif + .if defined(XORG_PLIST_ENTRY) && !empty(XORG_PLIST_ENTRY) . for _e in ${XORG_PLIST_ENTRY} XORG_PLIST_SED+= -e '/^@comment begin ${_e}$$/,/^@comment end ${_e}$$/p' -- cgit v1.2.3