Add PLIST_SUBST for the DGA extension.

This commit is contained in:
hira 2005-04-15 15:20:47 +00:00
parent ba0dffdf48
commit bd9e6e4469

View file

@ -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'