summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_gfx_moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_gfx_moz.build')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_gfx_moz.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_gfx_moz.build b/mail/thunderbird45/patches/patch-mozilla_gfx_moz.build
new file mode 100644
index 00000000000..4b44f935569
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_gfx_moz.build
@@ -0,0 +1,26 @@
+$NetBSD: patch-mozilla_gfx_moz.build,v 1.1 2017/04/27 13:38:18 ryoon Exp $
+
+--- mozilla/gfx/moz.build.orig 2016-04-07 21:33:14.000000000 +0000
++++ mozilla/gfx/moz.build
+@@ -7,6 +7,12 @@
+ if CONFIG['MOZ_TREE_CAIRO']:
+ DIRS += ['cairo']
+
++if not CONFIG['MOZ_NATIVE_GRAPHITE2']:
++ DIRS += ['graphite2/src' ]
++
++if not CONFIG['MOZ_NATIVE_HARFBUZZ']:
++ DIRS += ['harfbuzz/src']
++
+ DIRS += [
+ '2d',
+ 'ycbcr',
+@@ -15,8 +21,6 @@ DIRS += [
+ 'qcms',
+ 'gl',
+ 'layers',
+- 'graphite2/src',
+- 'harfbuzz/src',
+ 'ots/src',
+ 'thebes',
+ 'ipc',