diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-06-14 19:28:10 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-06-14 19:28:10 +0000 |
commit | 56136fad357f75d6629df5d11c61a939877732c6 (patch) | |
tree | a888d22240b3984a1cc5caed8d06bc5a851aa32b /multimedia | |
parent | b806c78190c3d4e7641943873943b0965b438b12 (diff) | |
download | pkgsrc-56136fad357f75d6629df5d11c61a939877732c6.tar.gz |
Add --enable-memalign-hack for NetBSD 4.0 and earlier.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile.common | 8 |
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 |