pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg3 the bespoke configure script uses u...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c44aaba1587f
branches: trunk
changeset: 372292:c44aaba1587f
user: sevan <sevan%pkgsrc.org@localhost>
date: Fri Dec 01 21:43:15 2017 +0000
description:
the bespoke configure script uses uname -m to detect arch, as opposed to uname -p in
GNU/configure. This results in NetBSD/macppc not being detected as a powerpc
system correctly.
Always specify the arch rather than when we're just cross-compiling.
diffstat:
multimedia/ffmpeg3/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e1d7b938bba8 -r c44aaba1587f multimedia/ffmpeg3/Makefile
--- a/multimedia/ffmpeg3/Makefile Fri Dec 01 20:48:40 2017 +0000
+++ b/multimedia/ffmpeg3/Makefile Fri Dec 01 21:43:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2017/07/30 05:21:15 adam Exp $
+# $NetBSD: Makefile,v 1.25 2017/12/01 21:43:15 sevan Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg3/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -19,7 +19,6 @@
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ARGS+= --enable-cross-compile
-CONFIGURE_ARGS+= --arch=${MACHINE_ARCH}
CONFIGURE_ARGS+= --host-cc=${NATIVE_CC:Q}
CONFIGURE_ARGS+= --host-ld=${NATIVE_CC:Q}
CONFIGURE_ARGS+= --target-os=${LOWER_OPSYS}
@@ -53,4 +52,8 @@
. endif
.endif
+# configure script uses uname -m to detect arch, as opposed to uname -p in
+# GNU/configure. Unable to detect NetBSD/macppc hosts correctly.
+CONFIGURE_ARGS+= --arch=${MACHINE_ARCH}
+
.include "../../multimedia/ffmpeg3/Makefile.common"
Home |
Main Index |
Thread Index |
Old Index