summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-06-14 19:28:10 +0000
committerahoka <ahoka@pkgsrc.org>2009-06-14 19:28:10 +0000
commitd8552fd362608464df1bf5c286d91d0d17e687b4 (patch)
treea888d22240b3984a1cc5caed8d06bc5a851aa32b /multimedia/ffmpeg
parent2b4cd48365c1a79f87721e873a471019794714c0 (diff)
downloadpkgsrc-d8552fd362608464df1bf5c286d91d0d17e687b4.tar.gz
Add --enable-memalign-hack for NetBSD 4.0 and earlier.
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/ffmpeg/Makefile.common b/multimedia/ffmpeg/Makefile.common
index d7561545e03..8d69a5062c2 100644
--- a/multimedia/ffmpeg/Makefile.common
+++ b/multimedia/ffmpeg/Makefile.common
@@ -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 @@ CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} \
--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