Date: Wed, 14 Jan 2015 10:07:50 +0400 From: Igor R <igor4ml@gmail.com> To: freebsd-chromium@freebsd.org Subject: patch to allow building chromium without Kerberos Message-ID: <CAGLzeoxbXUkh%2BPxwhJY1a=saBK0GoASGx0f1WiEJ6OhFd7o35w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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@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}" \
=====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGLzeoxbXUkh%2BPxwhJY1a=saBK0GoASGx0f1WiEJ6OhFd7o35w>
