summaryrefslogtreecommitdiff
path: root/audio/mac
diff options
context:
space:
mode:
authorjoerg <joerg>2007-02-02 16:56:58 +0000
committerjoerg <joerg>2007-02-02 16:56:58 +0000
commitaa89c53232240af43738b2b617f2c7f3910f31a5 (patch)
tree6dfca05aafd093f8b66911c9a3617091bfe46807 /audio/mac
parent0bf47c860573bc6b4d2e68d146f619ca6cdf39c3 (diff)
downloadpkgsrc-aa89c53232240af43738b2b617f2c7f3910f31a5.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/mac')
-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