diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-07 21:23:04 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-07 21:23:04 +0000 |
commit | 3a631d7d397b6ea2ff38b6c23ebd6b0304ec1128 (patch) | |
tree | a5fade171a40cc35eec7992554b1be3add7ce5ef /multimedia | |
parent | ebd1c19ab808cdf69be97bddb2cab18bc4230012 (diff) | |
download | pkgsrc-3a631d7d397b6ea2ff38b6c23ebd6b0304ec1128.tar.gz |
Add option for enabling CMOV support, defaulting to off.
This changes the default for this package, so bump PKGREVISION.
From Geert Hendrickx in PR 30366.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 6 | ||||
-rw-r--r-- | multimedia/mjpegtools/options.mk | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index 4cf1f0e5168..fcada3523d8 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2005/06/07 21:17:55 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2005/06/07 21:23:04 wiz Exp $ DISTNAME= mjpegtools-1.6.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/} @@ -22,6 +22,8 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-large-file CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} +.include "options.mk" + INFO_FILES= mjpeg-howto.info .include "../../audio/lame/buildlink3.mk" diff --git a/multimedia/mjpegtools/options.mk b/multimedia/mjpegtools/options.mk new file mode 100644 index 00000000000..1ee2ef8645c --- /dev/null +++ b/multimedia/mjpegtools/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2005/06/07 21:23:04 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.mjpegtools +PKG_SUPPORTED_OPTIONS= mjpegtools-cmov + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmjpegtools-cmov) +CONFIGURE_ARGS+= --enable-cmov-extension +.else +CONFIGURE_ARGS+= --disable-cmov-extension +.endif |