diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2006-01-25 10:01:36 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2006-01-25 10:01:36 +0000 |
commit | 06628387ac069e98c27001ee1d0870a31325d3d1 (patch) | |
tree | 32994a56ed64af3a83b5b93aeead556a297c9104 /multimedia | |
parent | 8cacdfc2d27c17d4272632c693478f4d05b5226a (diff) | |
download | pkgsrc-06628387ac069e98c27001ee1d0870a31325d3d1.tar.gz |
Add the "mjpegtools-simd" option, to enable MMX/3DNOW support
(disabled by default for compatibility with binary packages),
pointed out by ghen.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 3 | ||||
-rw-r--r-- | multimedia/mjpegtools/options.mk | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index cb2cd0a46eb..72d9f14fbf4 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2006/01/25 08:09:12 xtraeme Exp $ +# $NetBSD: Makefile,v 1.24 2006/01/25 10:01:36 xtraeme Exp $ DISTNAME= mjpegtools-1.8.0 CATEGORIES= multimedia @@ -21,7 +21,6 @@ PKGCONFIG_OVERRIDE= mjpegtools.pc.in GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-libquicktime CONFIGURE_ARGS+= --enable-large-file -CONFIGURE_ARGS+= --enable-simd CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} .include "options.mk" diff --git a/multimedia/mjpegtools/options.mk b/multimedia/mjpegtools/options.mk index 3b57deb4ddc..042e689357a 100644 --- a/multimedia/mjpegtools/options.mk +++ b/multimedia/mjpegtools/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.2 2006/01/25 08:09:12 xtraeme Exp $ +# $NetBSD: options.mk,v 1.3 2006/01/25 10:01:36 xtraeme Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mjpegtools -PKG_SUPPORTED_OPTIONS= dv +PKG_SUPPORTED_OPTIONS= dv mjpegtools-simd PKG_SUGGESTED_OPTIONS= dv .include "../../mk/bsd.options.mk" @@ -12,3 +12,9 @@ CONFIGURE_ARGS+= --enable-libdv .else CONFIGURE_ARGS+= --disable-libdv .endif + +.if !empty(PKG_OPTIONS.mjpegtools-simd) +CONFIGURE_ARGS+= --enable-simd-accel +.else +CONFIGURE_ARGS+= --disable-simd-accel +.endif |