pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg Add --enable-memalign-hack for NetBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e89321ebedb
branches:  trunk
changeset: 394677:2e89321ebedb
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jun 14 19:28:10 2009 +0000

description:
Add --enable-memalign-hack for NetBSD 4.0 and earlier.

diffstat:

 multimedia/ffmpeg/Makefile.common |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 02fed0ff3c31 -r 2e89321ebedb multimedia/ffmpeg/Makefile.common
--- a/multimedia/ffmpeg/Makefile.common Sun Jun 14 19:12:18 2009 +0000
+++ b/multimedia/ffmpeg/Makefile.common Sun Jun 14 19:28:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2009/06/12 20:26:30 ahoka Exp $
+# $NetBSD: Makefile.common,v 1.2 2009/06/14 19:28:10 ahoka Exp $
 
 DISTNAME=      ffmpeg-${DISTVERSION:S/-//g}
 CATEGORIES=    multimedia
@@ -42,6 +42,12 @@
                        --enable-pthreads \
                        --enable-gpl
 
+# No posix_memalign() in NetBSD 4.0 and earlier
+#
+.if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*-*)
+CONFIGURE_ARGS+=       --enable-memalign-hack
+.endif
+
 pre-configure:
        mkdir ${WRKSRC}/tmp
 



Home | Main Index | Thread Index | Old Index