summaryrefslogtreecommitdiff
path: root/x11/xorg-libs/Makefile
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-04-15 15:26:48 +0000
committerhira <hira@pkgsrc.org>2005-04-15 15:26:48 +0000
commitc93d4202c7e0cd10a1874a983888152aba1dbffa (patch)
tree62cd78bd11720ccee6cc3d4a4e87d72dc23a626e /x11/xorg-libs/Makefile
parentbd9e6e4469021c7bbe6727a22145e6cb86d017ff (diff)
downloadpkgsrc-c93d4202c7e0cd10a1874a983888152aba1dbffa.tar.gz
Don't build the DGA extension on the unsupported architectures.
Diffstat (limited to 'x11/xorg-libs/Makefile')
-rw-r--r--x11/xorg-libs/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11/xorg-libs/Makefile b/x11/xorg-libs/Makefile
index 2322533925f..fa89b2afa1d 100644
--- a/x11/xorg-libs/Makefile
+++ b/x11/xorg-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/04/14 21:35:51 xtraeme Exp $
+# $NetBSD: Makefile,v 1.21 2005/04/15 15:26:48 hira Exp $
DISTNAME= ${DISTFILES}
PKGNAME= xorg-libs-${XORG_VER}
@@ -18,13 +18,12 @@ BUILD_DEPENDS= xorg-imake>=${XORG_VER}:../../x11/xorg-imake
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
XORG_PLIST_ENTRY= ${OPSYS}
-.if ${OPSYS} == "NetBSD"
-. if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64)
-XORG_PLIST_ENTRY+= NetBSD-i386
-. endif
-.endif
.if ${OPSYS} != "Darwin"
XORG_PLIST_ENTRY+= i18n
+. if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
+ !empty(MACHINE_ARCH:Msparc64)
+XORG_PLIST_ENTRY+= DGA-common
+. endif
.endif
.include "../../meta-pkgs/xorg/Makefile.common"