Date: Sun, 11 Oct 2015 23:28:27 +0200 From: Jan Beich <jbeich@vfemail.net> To: John Marino <marino@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r399101 - head/lang/fpc-units Message-ID: <si5h-qemc-wny@vfemail.net> In-Reply-To: <201510111908.t9BJ83Rv054697@repo.freebsd.org> (John Marino's message of "Sun, 11 Oct 2015 19:08:03 %2B0000 (UTC)") References: <201510111908.t9BJ83Rv054697@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain John Marino <marino@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}} --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWGtR7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bq+QIAKJdJquFAH2Pdlnr15bjKxag /go8j3NTMjZ6yoNrf6QI8reH5snYmyJCQoJ+2TINg0pGZbBd7jqul5Hli/ZhZVlv WQPU4AW2BTph5JooUiLrAcbEBr0hX329AxcObZDlbHu3bLDsKVgDOIXKK6cS2P2v FmaIvOBHFFuzaFVnjTWw3hxuQor4LEvKfZTiVTuaa2ukr+XZXLJ2T1Wa0MlEIEnN jcvwngCRrMlt+OgVotZtyMCboXllIpr1erSYAb4skvL2WG3nb/BJG1PVe/9pEbaQ zyWOiaEbB8+Nfdjzqy5FhIESyEh6dHJsFLZFiAiuzK7zDEPz/kNohmu+6H8Sb/k= =OMZD -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?si5h-qemc-wny>