error message from Freshports after commit?

Mathieu Arnold mat at
Mon Jul 27 22:56:49 UTC 2015

+--On 27 juillet 2015 11:55:24 +0200 Alexander Leidinger
<Alexander at> wrote:
| testtarget:
| .if defined(${QUOTED_VAR}) && ${QUOTED_VAR} == "test"
|   	echo works
| .endif

No.  If you run "make QUOTED_VAR=test testtarget" this will evaluate as:

.if defined(test) && test == "test"
  	echo works

and of course, test is not defined.

You want to write:

.if defined(QUOTED_VAR) && ${QUOTED_VAR} == "test"
  	echo works

Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list