pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/xorg Add PLIST_SUBST for the DGA extension.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e69a9d6f406
branches:  trunk
changeset: 492567:3e69a9d6f406
user:      hira <hira%pkgsrc.org@localhost>
date:      Fri Apr 15 15:20:47 2005 +0000

description:
Add PLIST_SUBST for the DGA extension.

diffstat:

 meta-pkgs/xorg/Makefile.common |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 9ba81abb83e9 -r 3e69a9d6f406 meta-pkgs/xorg/Makefile.common
--- a/meta-pkgs/xorg/Makefile.common    Fri Apr 15 14:36:24 2005 +0000
+++ b/meta-pkgs/xorg/Makefile.common    Fri Apr 15 15:20:47 2005 +0000
@@ -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 @@
 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'



Home | Main Index | Thread Index | Old Index