Created attachment 180451 [details]
Patch for fix the issue
USE_GL=gl is incorrect, the port is checking for the "GLU" element and fails if that is not installed. The issue is probably masked by the some of the dependencies, which depends on GLU.
hecking for iasl: found version 20160527, OK.
Checking for xslt: found, OK.
Checking for mkisofs: found mkisofs 3.01 (amd64-unknown-freebsd10.3) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.4, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.2k-freebsd 26 Jan 2017, OK.
Checking for libcurl: found version 7.53.1, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.28, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU:
Mesa not found at -L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include or Mesa headers not found
Check the file /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/configure.log for detailed error information.
Check /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/configure.log for details
===> Script "configure" failed unexpectedly.
Please report the problem to vbox@FreeBSD.org [maintainer] and attach the
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
We have 5.2.4 is this still a problem, or is it overcome by events,
Yes, it's still a problem. Should be USE_GL="gl glu".