summaryrefslogtreecommitdiff
path: root/audio/mpg123
diff options
context:
space:
mode:
authortron <tron>2012-06-17 07:17:57 +0000
committertron <tron>2012-06-17 07:17:57 +0000
commit8cb2e337b4d00b9437c5ac05902b5816461ac108 (patch)
tree5f4edbdd1c308d036bb50f99a314f5bd806accff /audio/mpg123
parentb3ad7921c59936ec824494f675f44b22ab637cb3 (diff)
downloadpkgsrc-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.mk7
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")