pkgsrc/audio/mac/patches/patch-aa
2013-01-09 07:24:23 +00:00

27 lines
562 B
Text

$NetBSD: patch-aa,v 1.3 2013/01/09 07:24:24 adam Exp $
Add Darwin and DragonFly support.
--- configure.orig 2007-02-02 16:37:43.000000000 +0000
+++ configure
@@ -20607,12 +20607,19 @@ fi
case "$host_os" in
- *bsd*|linux*|beos|irix*|solaris*)
+ *bsd*|linux*|beos|irix*|solaris*|*dragonfly*)
YASM_FORMAT="-f elf"
;;
[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
+ ;;
esac
case "$host" in