summaryrefslogtreecommitdiff
path: root/www/firefox-esr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/Makefile')
-rw-r--r--www/firefox-esr/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 05fb6c5c736a..e4a0fce4a4cf 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -79,10 +79,20 @@ OPTIONS= DEBUG "Build a debugging image" off \
OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
XFT "Enable support for anti-aliased fonts" on \
SMB "Enable smb:// URI support using gnomevfs" off \
- NEWTAB "Open external links in a new tab" on
+ NEWTAB "Open external links in a new tab" on \
+ CJK "Enable CJK font family support" off
.include <bsd.port.pre.mk>
+# Enable CJK Font Familyname support
+.if defined(WITH_CJK)
+PATCH_SITES+= http://bbs.ilc.edu.tw/~chinsan/ \
+ http://bsdchat.com/dist/firefly-cjk-patchset/ \
+ ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
+PATCHFILES+= mozilla-1.7.10-cjkfamilyname-20050731.patch.gz
+PATCH_DIST_STRIP+= -p1
+.endif
+
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes