pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel FIxes build on NetBSD-5.x-i386, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/166b0baccbd3
branches: trunk
changeset: 621287:166b0baccbd3
user: obache <obache%pkgsrc.org@localhost>
date: Sun Jul 07 03:51:04 2013 +0000
description:
FIxes build on NetBSD-5.x-i386, i486 features are required.
diffstat:
multimedia/x264-devel/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ec7a732ed6a5 -r 166b0baccbd3 multimedia/x264-devel/Makefile
--- a/multimedia/x264-devel/Makefile Sun Jul 07 01:18:46 2013 +0000
+++ b/multimedia/x264-devel/Makefile Sun Jul 07 03:51:04 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2013/07/06 21:57:45 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2013/07/07 03:51:04 obache Exp $
SNAPSHOT_DATE= 20130703
@@ -28,6 +28,11 @@
(!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \
${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-asm
+# depends on builtin functions enabled with i486 and later with GCC.
+. if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386)
+GNU_ARCH.i386= i486
+CFLAGS+= -march=i486
+. endif
. else
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
. endif
Home |
Main Index |
Thread Index |
Old Index