patch to allow building chromium without Kerberos
Igor R
igor4ml at gmail.com
Wed Jan 14 06:07:52 UTC 2015
Hello!
I have built my FreeBSD system with
WITHOUT_KERBEROS=yes
in /etc/src.conf (there are also more WITHOUT_* lines here).
But chromium port builds with GSSAPI by default. So I have made simple
patch, which allows to build chromium without gssapi using settings
from /etc/src.conf:
=====
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 073f6a6..064f0a5 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,6 +1,8 @@
# Created by: Florent Thoumie <flz at FreeBSD.org>
# $FreeBSD$
+.include "/etc/src.conf"
+
#TODO bz@ : if you do undestand the gyp stuff,
third_party/widevine/cdm/widevine_cdm.gyp talks about it (plz install
libwidevinecdm.so)
PORTNAME= chromium
PORTVERSION= 39.0.2171.95
@@ -206,6 +208,10 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang
CONFIGURE_ENV+= AR=/usr/bin/ar
.endif
+.if ${WITHOUT_KERBEROS} == yes
+GYP_DEFINES+= use_kerberos=0
+.endif
+
# according to portlint the below is passed via bsd.port.mk,
# but 'make -V CONFIGURE_ENV' does not show it:
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \
=====
More information about the freebsd-chromium
mailing list