xorg still calls removed bsd.cmake.mk

Beeblebrox zaphod at berentweb.com
Thu Mar 21 09:02:50 UTC 2013


The Mk/bsd.port.mk from the xorg site:
https://trillian.chruetertee.ch/svn/ports/trunk/ is inconsistent with the
Mk/bsd.port.mk file in FreeBSD's ports tree. The problem is that there is
no longer an Mk/bsd.cmake.mk file.

Host: 10.0-CURRENT #0 r248373, amd64. ports tree and xorg tree are merged
through script (ports-mgmt/portshaker) into one tree. During merge, code
from Mk/bsd.port.mk from ports and Mk/bsd.port.mk from xorg are conmbined.

ports/Mk/bsd.port.mk referres to cmake by:

.if defined(USE_CMAKE)
. if defined(CMAKE_OUTSOURCE)
USES+=	cmake:outsource
. else
USES+=	cmake
. endif
.endif

While xorg/Mk/bsd.port.mk referres to cmake in the old format, but
freebsd.org/ports/head/Mk no longer has a bsd.cmake.mk file. Therefore the
merge causes compile errors.
.if defined(USE_CMAKE)
.include "${PORTSDIR}/Mk/bsd.cmake.mk"
.endif

Regards.


More information about the freebsd-x11 mailing list