diff options
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 |