diff options
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/options.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index 79b9a8b53a9..f55903fc906 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.23 2007/12/21 11:31:14 tron Exp $ +# $NetBSD: options.mk,v 1.24 2007/12/21 17:41:12 drochner Exp $ .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) @@ -54,6 +54,9 @@ PKG_SUPPORTED_OPTIONS+= mplayer-default-cflags mplayer-win32 ${MACHINE_ARCH} == "alpha" PKG_SUPPORTED_OPTIONS+= mplayer-real .endif +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" +PKG_SUPPORTED_OPTIONS+= mplayer-ssse3 +.endif # ------------------------------------------------------------------------- # Define PKG_SUGGESTED_OPTIONS. @@ -258,6 +261,13 @@ EXTRA_LIBS+= -lxvidcore CONFIGURE_ARGS+= --disable-xvid .endif +.if !empty(PKG_OPTIONS:Mmplayer-ssse3) +# needs a recent assembler +.include "../../devel/binutils/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-ssse3 +.endif + # ------------------------------------------------------------------------- # Handle extra libraries (part 1) # ------------------------------------------------------------------------- |