summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2012-06-17 07:17:57 +0000
committertron <tron@pkgsrc.org>2012-06-17 07:17:57 +0000
commit5da08e9b67ae1b6accfa1874f1c53140d9b31c61 (patch)
tree5f4edbdd1c308d036bb50f99a314f5bd806accff
parent7ef9e299fd11c3e1e2d4cd2ae73f2666664cff3a (diff)
downloadpkgsrc-5da08e9b67ae1b6accfa1874f1c53140d9b31c61.tar.gz
Build with generic FPU code under Mac OS X Lion as the assembler code
causes linker errors.
-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")