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/c17b057e9ba7
branches:  trunk
changeset: 560529:c17b057e9ba7
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 0c1f515a8284 -r c17b057e9ba7 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