HomeFreeBSD

bsd.port.mk: Implement BROKEN_${OPSYS} and BROKEN_${OPSYS}_${OSREL:R}

Description

bsd.port.mk: Implement BROKEN_${OPSYS} and BROKEN_${OPSYS}_${OSREL:R}

Examples of use:

  • BROKEN_FreeBSD= does not link
  • BROKEN_DragonFly= requires later jail
  • BROKEN_FreeBSD_8= long type-name is invalid

The latter example could replace something like:

.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 900000
BROKEN=	long type-name is invalid
.endif

Differential Revision: https://reviews.freebsd.org/D2207
Reviewed by: portmgr
Approved by: portmgr (mat)

Details

Provenance
marinoAuthored on
Differential Revision
D2207: Add BROKEN_${OPSYS} functionality to bsd.port.mk
Parents
rP388390: - Add LICENSE
Branches
Unknown
Tags
Unknown