diff options
author | tron <tron> | 2012-06-17 07:17:57 +0000 |
---|---|---|
committer | tron <tron> | 2012-06-17 07:17:57 +0000 |
commit | 8cb2e337b4d00b9437c5ac05902b5816461ac108 (patch) | |
tree | 5f4edbdd1c308d036bb50f99a314f5bd806accff /audio/mpg123 | |
parent | b3ad7921c59936ec824494f675f44b22ab637cb3 (diff) | |
download | pkgsrc-8cb2e337b4d00b9437c5ac05902b5816461ac108.tar.gz |
Build with generic FPU code under Mac OS X Lion as the assembler code
causes linker errors.
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/options.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/mpg123/options.mk b/audio/mpg123/options.mk index 0982a765368..903d037b8b4 100644 --- a/audio/mpg123/options.mk +++ b/audio/mpg123/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2010/03/14 14:19:19 martin Exp $ +# $NetBSD: options.mk,v 1.2 2012/06/17 07:17:57 tron Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mpg123 PKG_OPTIONS_OPTIONAL_GROUPS= fpu @@ -8,8 +8,13 @@ PKG_SUGGESTED_OPTIONS+= mpg123-fifo .include "../../mk/bsd.fast.prefs.mk" .if (${MACHINE_ARCH} == "i386") +. if empty(MACHINE_PLATFORM:MDarwin-11.*-i386) PKG_OPTIONS_GROUP.fpu= mpg123-x86-dither mpg123-with-fpu PKG_SUGGESTED_OPTIONS+= mpg123-x86-dither +. else +PKG_OPTIONS_GROUP.fpu= mpg123-with-fpu +PKG_SUGGESTED_OPTIONS+= mpg123-with-fpu +. endif .elif (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "arm32") PKG_OPTIONS_GROUP.fpu= mpg123-with-fpu .elif (${MACHINE_ARCH} == "powerpc") |