svn commit: r399101 - head/lang/fpc-units

Jan Beich jbeich at vfemail.net
Sun Oct 11 21:29:04 UTC 2015


John Marino <marino at FreeBSD.org> writes:

>   Since there is no mechanism to set options by release, I use bmake's
>   exist() function to check for /usr/include/lwres which only exists on
>   FreeBSD 9.  If it's present, the BFD option is disabled by default.  This
>   should restore the building of the fpc-units package on FreeBSD 9.

Why not create some on-the-fly? If a variable doesn't use !defined()
construct under Mk/* its helper can be appended to the original value.

  OPTIONS_DEFAULT_FreeBSD_9=	BFD

  OPTIONS_DEFAULT+=		${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151011/b71721ef/attachment.bin>


More information about the svn-ports-all mailing list