summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-02-02 16:56:58 +0000
committerjoerg <joerg@pkgsrc.org>2007-02-02 16:56:58 +0000
commitd8d0707e43761842d6174335498c44fe6b202570 (patch)
tree6dfca05aafd093f8b66911c9a3617091bfe46807 /audio
parentcce9fd58cb505634141cd801e34e199ca50a14d1 (diff)
downloadpkgsrc-d8d0707e43761842d6174335498c44fe6b202570.tar.gz
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.
Diffstat (limited to 'audio')
-rw-r--r--audio/mac/Makefile5
-rw-r--r--audio/mac/distinfo3
-rw-r--r--audio/mac/patches/patch-aa22
3 files changed, 26 insertions, 4 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile
index d1a87849d0b..1ba15a211dc 100644
--- a/audio/mac/Makefile
+++ b/audio/mac/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/31 21:17:18 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2007/02/02 16:56:58 joerg Exp $
#
DISTNAME= mac-3.99-u4-b5
@@ -18,7 +18,6 @@ BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-# really does not need "c"
-USE_LANGUAGES= c++
+USE_LANGUAGES= c c++
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mac/distinfo b/audio/mac/distinfo
index 49785552f96..16c8110ee53 100644
--- a/audio/mac/distinfo
+++ b/audio/mac/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/01/31 21:17:18 wiz Exp $
+$NetBSD: distinfo,v 1.2 2007/02/02 16:56:58 joerg Exp $
SHA1 (mac-3.99-u4-b5.tar.gz) = f215c265c2cba719834c989498d5a8d2457b54de
RMD160 (mac-3.99-u4-b5.tar.gz) = 34b5ba553f7ffa858249258dad9f64c60f0b6ac0
Size (mac-3.99-u4-b5.tar.gz) = 421234 bytes
+SHA1 (patch-aa) = c65d0be6d3f7cb357cbf20d7a548028d31cb6230
diff --git a/audio/mac/patches/patch-aa b/audio/mac/patches/patch-aa
new file mode 100644
index 00000000000..87857dd5740
--- /dev/null
+++ b/audio/mac/patches/patch-aa
@@ -0,0 +1,22 @@
+$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