diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-28 10:02:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-28 10:02:41 +0000 |
commit | b9107d4ae48542c262d6174f3bfd6bb96fe99696 (patch) | |
tree | d1a66f61fc951f3d5daa56643763e20afd11573b /multimedia | |
parent | 5e3ff8a1cbb6a33805f44bc72ab93c8519f89e8b (diff) | |
download | pkgsrc-b9107d4ae48542c262d6174f3bfd6bb96fe99696.tar.gz |
Add DragonFly support. Override all libtool instances.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpeg4ip/Makefile | 3 | ||||
-rw-r--r-- | multimedia/mpeg4ip/distinfo | 4 | ||||
-rw-r--r-- | multimedia/mpeg4ip/patches/patch-ac | 17 | ||||
-rw-r--r-- | multimedia/mpeg4ip/patches/patch-ad | 22 |
4 files changed, 44 insertions, 2 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile index f9bc6fdd0d8..ff7a90cbcc1 100644 --- a/multimedia/mpeg4ip/Makefile +++ b/multimedia/mpeg4ip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/04/12 21:39:38 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2006/04/28 10:02:41 joerg Exp $ # DISTNAME= mpeg4ip-1.4.1 @@ -13,6 +13,7 @@ USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= bootstrap +LIBTOOL_OVERRIDE= libtool */libtool */*/libtool */*/*/libtool .include "../../devel/SDL/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" diff --git a/multimedia/mpeg4ip/distinfo b/multimedia/mpeg4ip/distinfo index 2cb877f1664..989acd9252a 100644 --- a/multimedia/mpeg4ip/distinfo +++ b/multimedia/mpeg4ip/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.2 2006/04/16 23:50:09 wiz Exp $ +$NetBSD: distinfo,v 1.3 2006/04/28 10:02:41 joerg Exp $ SHA1 (mpeg4ip-1.4.1.tar.gz) = f0a4b9ecfb281c6c20b332002a7e341e27a9ea10 RMD160 (mpeg4ip-1.4.1.tar.gz) = 656d06433d490aadadd8c6fd8e8d5727870e8766 Size (mpeg4ip-1.4.1.tar.gz) = 4791075 bytes SHA1 (patch-aa) = c35f7bfd5f8fe229fd022def69a7030ffa837c07 SHA1 (patch-ab) = 93875dfe86b50c399113915fbac523becae3e2aa +SHA1 (patch-ac) = 9e4683fdbbfa3b85941243547773814ea50125a9 +SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56 diff --git a/multimedia/mpeg4ip/patches/patch-ac b/multimedia/mpeg4ip/patches/patch-ac new file mode 100644 index 00000000000..c1aa52c3ee1 --- /dev/null +++ b/multimedia/mpeg4ip/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1 2006/04/28 10:02:41 joerg Exp $ + +--- include/mpeg4ip_byteswap.h.orig 2006-04-28 09:17:18.000000000 +0000 ++++ include/mpeg4ip_byteswap.h +@@ -50,6 +50,12 @@ + #define B2N_32(x) x = swap32(x) + #define B2N_64(x) x = swap64(x) + ++#elif defined(__DragonFly__) ++#include <sys/endian.h> ++#define B2N_16(x) x = be16toh(x) ++#define B2N_32(x) x = be32toh(x) ++#define B2N_64(x) x = be64toh(x) ++ + /* This is a slow but portable implementation, it has multiple evaluation + * problems so beware. + * FreeBSD and Solaris don't have <byteswap.h> or any other such diff --git a/multimedia/mpeg4ip/patches/patch-ad b/multimedia/mpeg4ip/patches/patch-ad new file mode 100644 index 00000000000..444fb83e9a4 --- /dev/null +++ b/multimedia/mpeg4ip/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 2006/04/28 10:02:41 joerg Exp $ + +--- lib/SDLAudio/configure.orig 2006-04-28 09:21:28.000000000 +0000 ++++ lib/SDLAudio/configure +@@ -23435,7 +23435,7 @@ fi; + # causes Carbon.p complaints? + # pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + ;; +- *-*-freebsd*) ++ *-*-freebsd* | *-*-dragonfly*) + pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" + pthread_lib="-pthread" + ;; +@@ -24553,7 +24553,7 @@ case "$target" in + # Set up files for the thread library + # Set up files for the timer library + ;; +- *-*-freebsd*) ++ *-*-freebsd* | *-*-dragonfly*) + ARCH=freebsd + + CheckDiskAudio |