summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorhira <hira>2005-04-15 15:20:47 +0000
committerhira <hira>2005-04-15 15:20:47 +0000
commitcfd16e3b8ff9d2e1e130a0ced333869264629354 (patch)
tree1c0d490a182dda075b665b9342ae12b015b71c90 /meta-pkgs
parentb81f357a6207ebd1cde0a5086426617d76c89cdc (diff)
downloadpkgsrc-cfd16e3b8ff9d2e1e130a0ced333869264629354.tar.gz
Add PLIST_SUBST for the DGA extension.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/xorg/Makefile.common11
1 files changed, 10 insertions, 1 deletions
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'