[Bug 202368] www/chromium: optionally build chromedriver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 22 11:28:11 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202368

stb at lassitu.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Closed                      |Open
         Resolution|FIXED                       |---

--- Comment #5 from stb at lassitu.de ---
Unfortunately, the version committed doesn't work.  DRIVER_MAKE_ARGS gets
defined unconditionally, but is never used, and chromedriver is never built.

Something like this is needed:
Index: Makefile
===================================================================
--- Makefile    (revision 394932)
+++ Makefile    (working copy)
@@ -196,6 +196,9 @@
         GPERF="${LOCALBASE}/bin/gperf"
 MAKE_ARGS=    -C out/${BUILDTYPE}
 DRIVER_MAKE_ARGS=chromedriver
+.if ${PORT_OPTIONS:MDRIVER}
+MAKE_ARGS+=    ${DRIVER_MAKE_ARGS}
+.endif

 .include <bsd.port.pre.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-chromium mailing list