From 56136fad357f75d6629df5d11c61a939877732c6 Mon Sep 17 00:00:00 2001 From: ahoka Date: Sun, 14 Jun 2009 19:28:10 +0000 Subject: Add --enable-memalign-hack for NetBSD 4.0 and earlier. --- multimedia/ffmpeg/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'multimedia') 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 -- cgit v1.2.3