diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 18:37:27 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 18:37:27 +0000 |
commit | f2d8f710dd8626547aec304836ee41515fae314d (patch) | |
tree | a7ae86f8fa456a83da37f6de30fed69fefc5afb4 /multimedia/avidemux | |
parent | 4bacf2fa08dfd309cfe08132a82329597fab869c (diff) | |
download | pkgsrc-f2d8f710dd8626547aec304836ee41515fae314d.tar.gz |
Convert to options framework.
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r-- | multimedia/avidemux/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile index 3dc5f676d25..2c78afa4372 100644 --- a/multimedia/avidemux/Makefile +++ b/multimedia/avidemux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2005/05/28 05:52:18 reed Exp $ +# $NetBSD: Makefile,v 1.15 2005/06/01 18:37:27 wiz Exp $ # DISTNAME= avidemux-2.0.40 @@ -20,12 +20,17 @@ LDFLAGS+= ${LIBOSSAUDIO} CONFIGURE_ENV+= ac_cv_path_ART_CONFIG=no CONFIGURE_ARGS+= --disable-faad # Dolby doesn't allow binary distribution +PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux + .include "../../mk/bsd.prefs.mk" -.if !empty(MACHINE_ARCH:Mi386) -BUILD_DEFS+= USE_MMX +.if ${MACHINE_ARCH} == "i386" +PKG_SUPPORTED_OPTIONS= mmx +.endif + +.include "../../mk/bsd.options.mk" -. if empty(USE_MMX:M[Yy][Ee][Ss]) +.if empty(PKG_OPTIONS:Mmmx) CONFIGURE_ARGS+= --disable-mmx post-configure: @@ -34,7 +39,6 @@ post-configure: ${SED} -e 's/TARGET_MMX=yes/TARGET_MMX=no/g' \ < ${WRKSRC}/adm_lavcodec/config.mak.in \ > ${WRKSRC}/adm_lavcodec/config.mak -. endif .endif .include "../../audio/faac/buildlink3.mk" |