summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-02 06:48:37 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-02 06:48:37 +0000
commit6e3d90566a13289c888e11991329c9ef8338c2d9 (patch)
treebc0ef49face35fce395e8b1467a3ae45e92ab7c7
parent497e4bcfe7162ee5cb0aff016d7a9637b8767d01 (diff)
downloadpkgsrc-6e3d90566a13289c888e11991329c9ef8338c2d9.tar.gz
Fix build on DragonFly.
The problem is mensioned in PR pkg/47734. * Disable WebRTC support on DragonFly. * Add dependency to libv4l on supported platforms.
-rw-r--r--www/firefox/distinfo4
-rw-r--r--www/firefox/mozilla-common.mk7
-rw-r--r--www/firefox/patches/patch-aa6
3 files changed, 11 insertions, 6 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo
index c76f53025fb..f314b80b5fa 100644
--- a/www/firefox/distinfo
+++ b/www/firefox/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.100 2013/05/23 13:12:13 ryoon Exp $
+$NetBSD: distinfo,v 1.101 2013/06/02 06:48:37 ryoon Exp $
SHA1 (firefox-21.0.source.tar.bz2) = e63b5488eaec1956947f59609d5839332ba7ffe1
RMD160 (firefox-21.0.source.tar.bz2) = 3a62e242a7829f98978436464ab3306c96e58cdd
Size (firefox-21.0.source.tar.bz2) = 105558931 bytes
-SHA1 (patch-aa) = 51f0d88210cc3ebc44b73804d8c1f7edc557b1e0
+SHA1 (patch-aa) = a96dd1a2dad5cbd56da83265ad1a0cd8f7dc0316
SHA1 (patch-ak) = 971ddb1f12b14bcee604c9d7e72da5e7bf47d9be
SHA1 (patch-al) = 553c6042a98e4b381a46eec50c02cff349d88bd2
SHA1 (patch-am) = c5aa36638b666d99d4510f345802de259579e884
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk
index 4bad34178be..73fa0cddb63 100644
--- a/www/firefox/mozilla-common.mk
+++ b/www/firefox/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.1 2013/05/23 13:12:13 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.2 2013/06/02 06:48:37 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -149,3 +149,8 @@ BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.18.3nb1
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
+.if (${OPSYS} == "Linux") || (${OPSYS} == "Darwin") || \
+(${OPSYS} == "FreeBSD") || (${OPSYS} == "OpenBSD")
+.include "../../graphics/libv4l/buildlink3.mk"
+.endif
+
diff --git a/www/firefox/patches/patch-aa b/www/firefox/patches/patch-aa
index 4239197c458..3900be6af8c 100644
--- a/www/firefox/patches/patch-aa
+++ b/www/firefox/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.10 2013/05/23 13:12:13 ryoon Exp $
+$NetBSD: patch-aa,v 1.11 2013/06/02 06:48:37 ryoon Exp $
--- configure.in.orig 2013-05-11 19:19:23.000000000 +0000
+++ configure.in
@@ -100,11 +100,11 @@ $NetBSD: patch-aa,v 1.10 2013/05/23 13:12:13 ryoon Exp $
MOZ_WEBRTC=
;;
- *-linux*|*-mingw*|*-darwin*)
-+ *-netbsd*)
++ *-netbsd*|*-dragonfly*)
+ dnl Custom socketvar.h is not compatible with NetBSD.
+ MOZ_WEBRTC=
+ ;;
-+ *-linux*|*-mingw*|*-darwin*|*-dragonfly*|*-freebsd*|*-openbsd*)
++ *-linux*|*-mingw*|*-darwin*|*-freebsd*|*-openbsd*)
dnl Leave enabled
;;
*)