pkgsrc/audio/mac/patches/patch-aa
joerg d8d0707e43 Do require C as const gets defined away otherwise with rather strange
results. Also use ELF for the YASM output on DragonFly and put an
assertive case therein in the hope to detect other systems with a less
mysterious error.
2007-02-02 16:56:58 +00:00

22 lines
479 B
Text

$NetBSD: patch-aa,v 1.1 2007/02/02 16:56:58 joerg Exp $
--- configure.orig 2007-02-02 16:37:43.000000000 +0000
+++ configure
@@ -20607,12 +20607,16 @@ 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"
;;
+ *)
+ echo "Unknown OS, don't know binary format"
+ exit 1
+ ;;
esac
case "$host" in