Skip to content

Commit

Permalink
Fix buidling on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
adam committed Jan 9, 2013
1 parent f867740 commit ab84766
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions audio/mac/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2011/02/11 01:35:45 wiz Exp $
$NetBSD: distinfo,v 1.5 2013/01/09 07:24:23 adam Exp $

SHA1 (mac-3.99-u4-b5-s7.tar.gz) = f846b50ec47cf31a849ce5a7ac41b799e06999aa
RMD160 (mac-3.99-u4-b5-s7.tar.gz) = 7d8e97efc827e84f1bf0f59e2faebd6b38567c0c
Size (mac-3.99-u4-b5-s7.tar.gz) = 450981 bytes
SHA1 (patch-aa) = 9aa86814ce3b7a17cb88d7136b2f9bc6d6360012
SHA1 (patch-aa) = 91b18da43302920e922a91cedbb1cbf4705fe87a
9 changes: 6 additions & 3 deletions audio/mac/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$NetBSD: patch-aa,v 1.2 2011/02/05 18:54:40 wiz Exp $
$NetBSD: patch-aa,v 1.3 2013/01/09 07:24:24 adam Exp $

Add DragonFly support.
Add Darwin and DragonFly support.

--- configure.orig 2007-02-02 16:37:43.000000000 +0000
+++ configure
@@ -20607,12 +20607,16 @@ fi
@@ -20607,12 +20607,19 @@ fi


case "$host_os" in
Expand All @@ -15,6 +15,9 @@ Add DragonFly support.
[cC][yY][gG][wW][iI][nN]*|mingw32*|mks*)
YASM_FORMAT="-f win32"
;;
+ *darwin*)
+ YASM_FORMAT="-f macho"
+ ;;
+ *)
+ echo "Unknown OS, don't know binary format"
+ exit 1
Expand Down

0 comments on commit ab84766

Please sign in to comment.