summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorgrant <grant>2004-10-19 10:36:54 +0000
committergrant <grant>2004-10-19 10:36:54 +0000
commit06ca95f837049e0ffc5ac2d8b1fc376a397d7be2 (patch)
tree09ea80f36462ea1eb99c0b1c57e0a16febc35a73 /multimedia
parent03ea9660d7db1fe14c50831460886c960ce8e8b6 (diff)
downloadpkgsrc-06ca95f837049e0ffc5ac2d8b1fc376a397d7be2.tar.gz
xvidcore is i386 only, so use it if we are on i386.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xvidcore/buildlink3.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/xvidcore/buildlink3.mk b/multimedia/xvidcore/buildlink3.mk
index e0ff5d57c5f..00a96bc4436 100644
--- a/multimedia/xvidcore/buildlink3.mk
+++ b/multimedia/xvidcore/buildlink3.mk
@@ -1,8 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/04/05 18:41:14 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2004/10/19 10:36:54 grant Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XVIDCORE_BUILDLINK3_MK:= ${XVIDCORE_BUILDLINK3_MK}+
+.include "../../mk/bsd.prefs.mk"
+
+# xvidcore is ONLY_FOR_PLATFORM -*-*-i386
+.if ${MACHINE_ARCH} == "i386"
+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= xvidcore
.endif
@@ -15,4 +20,6 @@ BUILDLINK_DEPENDS.xvidcore+= xvidcore>=1.0.0
BUILDLINK_PKGSRCDIR.xvidcore?= ../../multimedia/xvidcore
.endif # XVIDCORE_BUILDLINK3_MK
+.endif # MACHINE_ARCH == i386
+
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}