svn commit: r539692 - head/lang/smlnj

Mark Linimon linimon at FreeBSD.org
Sat Jun 20 02:09:12 UTC 2020


Author: linimon
Date: Sat Jun 20 02:09:12 2020
New Revision: 539692
URL: https://svnweb.freebsd.org/changeset/ports/539692

Log:
  Fix conditional.  "defined(${MLSIZE})" is only true if MLSIZE's value
  happens to be a defined variable name.
  
  Reported by:	tobik
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/lang/smlnj/Makefile

Modified: head/lang/smlnj/Makefile
==============================================================================
--- head/lang/smlnj/Makefile	Sat Jun 20 01:35:38 2020	(r539691)
+++ head/lang/smlnj/Makefile	Sat Jun 20 02:09:12 2020	(r539692)
@@ -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 defined(${MLSIZE}) && ${MLSIZE} == 32
+.if defined(MLSIZE) && ${MLSIZE} == 32
 MLEXE+=		ml-nlffigen
 .endif
 .if ${PORT_OPTIONS:MEVERYTHING}


More information about the svn-ports-all mailing list