pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/xvidcore - remove the ONLY_FOR_PLATFORM lin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd3e426b79c1
branches:  trunk
changeset: 507996:cd3e426b79c1
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Sun Feb 12 14:36:43 2006 +0000

description:
- remove the ONLY_FOR_PLATFORM line as it has been reported to build on
  netbsd/alpha and solaris/sparc as well.  Bulk builds will point out which
  platforms are not supported.
- nasm dependency is only useful on i386 and amd64.

Ok with joerg.  This fixes PR#32803.

diffstat:

 multimedia/xvidcore/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r f13a9826a625 -r cd3e426b79c1 multimedia/xvidcore/Makefile
--- a/multimedia/xvidcore/Makefile      Sun Feb 12 14:23:02 2006 +0000
+++ b/multimedia/xvidcore/Makefile      Sun Feb 12 14:36:43 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/02/05 23:10:19 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2006/02/12 14:36:43 ghen Exp $
 #
 
 DISTNAME=      xvidcore-1.1.0
@@ -11,9 +11,9 @@
 HOMEPAGE=      http://www.xvid.org/
 COMMENT=       ISO MPEG-4 compliant video codec
 
-ONLY_FOR_PLATFORM+=    *-*-i386 *-*-powerpc *-*-x86_64
-
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 BUILD_DEPENDS+=        nasm>=0.98.34:../../devel/nasm
+.endif
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 



Home | Main Index | Thread Index | Old Index