Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 02:09:12 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539692 - head/lang/smlnj
Message-ID:  <202006200209.05K29Co8047565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006200209.05K29Co8047565>