svn commit: r539431 - head/lang/smlnj
Tobias Kortkamp
tobik at FreeBSD.org
Thu Jun 18 17:06:47 UTC 2020
On Wed, Jun 17, 2020, at 17:02, Mark Linimon wrote:
> Author: linimon
> Date: Wed Jun 17 17:02:35 2020
> New Revision: 539431
> URL: https://svnweb.freebsd.org/changeset/ports/539431
>
> Log:
> Fix INDEX build on !x86 architectures.
>
> Approved by: portmgr (tier-2 blanket)
>
> Modified:
> head/lang/smlnj/Makefile
>
> Modified: head/lang/smlnj/Makefile
> ==============================================================================
> --- head/lang/smlnj/Makefile Wed Jun 17 16:41:24 2020 (r539430)
> +++ head/lang/smlnj/Makefile Wed Jun 17 17:02:35 2020 (r539431)
> @@ -79,7 +79,7 @@ MLSRCS+= ${MLROOT}/${srcdir}
> MLTARGETS= heap2asm
> MLEXE= asdlgen heap2exec ml-antlr ml-build ml-burg ml-lex \
> ml-makedepend ml-ulex ml-yacc sml
> -.if ${MLSIZE} == 32
> +.if defined(${MLSIZE}) && ${MLSIZE} == 32
> MLEXE+= ml-nlffigen
> .endif
Now the condition looks broken to me. defined(${MLSIZE}) is only
true if MLSIZE's value happens to be a defined variable name.
Instead this should be
.if defined(MLSIZE) && ${MLSIZE} == 32
More information about the svn-ports-all
mailing list