... ===> mpv-0.25.0,1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> mpv-0.25.0,1 depends on shared library: libgbm.so - found (/usr/local/lib/libgbm.so) ===> Configuring for mpv-0.25.0,1 waf [commands] [options] Main commands (example: ./waf build -j4) build : executes the build clean : cleans the project conf : Decorator: attach new configuration functions to :py:class:`waflib.Build.BuildContext` and :py:class:`waflib.Configure.ConfigurationContext`. The methods bound will accept a parameter named 'mandatory' to disable the configuration errors:: def configure(conf): conf.find_program('abc', mandatory=False) :param f: method to bind :type f: function configure: configures the project dist : makes a tarball for redistributing the sources ...
It seems that /usr/ports/Mk/Uses/waf.mk is missing. Can you check it please?
(In reply to Carlos J. Puga Medina from comment #1) cat /usr/ports/Mk/Uses/waf.mk # $FreeBSD: head/Mk/Uses/waf.mk 423928 2016-10-13 16:26:09Z amdmi3 $ # # Provide support to use the waf building system # # Feature: waf # Usage: USES=waf # # It implies USES=python:build automatically is no USES=python has been # specified yet # # WAF_CMD can be specified in the ports if the waf script is not # in WRKSRC/waf # CONFIGURE_TARGET default to 'configure' # ALL_TARGET default to 'build' # INSTALL_TARGET= default to 'install' .if !defined(_INCLUDE_USES_WAF_MK) _INCLUDE_USES_WAF_MK= yes .if !empty(waf_ARGS) IGNORE= Incorrect 'USES+= waf:${waf_ARGS}' waf takes no arguments .endif .if !${USES:Mpython*} python_ARGS= 2,build .include "${USESDIR}/python.mk" .endif MAKEFILE= # MAKE_FLAGS= # ALL_TARGET= # HAS_CONFIGURE= yes MAKE_ARGS+= --verbose WAF_CMD?= ./waf CONFIGURE_TARGET?= configure ALL_TARGET?= build INSTALL_TARGET?= install CONFIGURE_CMD= ${PYTHON_CMD} ${WAF_CMD} ${CONFIGURE_TARGET} MAKE_CMD= ${PYTHON_CMD} ${WAF_CMD} CONFIGURE_ARGS+= --prefix=${PREFIX} \ ${_MAKE_JOBS} DESTDIRNAME= --destdir # Set a minimal job of 1 _MAKE_JOBS= -j${MAKE_JOBS_NUMBER} .endif
Please, provide more information: - uname -a output - content of your /etc/make.conf - full build log
Also, show the output of 'make showconfig'
Same issue, I think the problematic line was omitted: waf-light: error: no such option: --disable-xinerama ===> Script "configure" failed unexpectedly. and then it fails.
(In reply to bkazemi from comment #5) Confirmed xinerama issue for me, commenting out the XINERAMA_* lines in the Makefile allows me to build.
Created attachment 182132 [details] patch
mpv 0.25.0 makes xinerama dependency mandatory. https://github.com/mpv-player/mpv/commit/927afa311d4a89b022305508acbf4e7325fe3928
*** Bug 218920 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: cpm Date: Thu Apr 27 19:42:50 UTC 2017 New revision: 439562 URL: https://svnweb.freebsd.org/changeset/ports/439562 Log: - Remove XINERAMA option since mpv makes xinerama dependency mandatory. waf-light: error: no such option: --disable-xinerama ===> Script "configure" failed unexpectedly. PR: 218909 Reported by: rozhuk.im@gmail.com Changes: head/multimedia/mpv/Makefile
Committed! Thanks for reporting