Date: Fri, 5 Jun 2015 08:20:12 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388574 - head/devel/tcllib Message-ID: <201506050820.t558KC9g053199@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Jun 5 08:20:12 2015 New Revision: 388574 URL: https://svnweb.freebsd.org/changeset/ports/388574 Log: Use a syntax accepted by both bmake (freebsd 10+) and fmake (8-9) For $unknown reason fmake does not like testing the content of a variable and call the defined function on the same .if Modified: head/devel/tcllib/Makefile Modified: head/devel/tcllib/Makefile ============================================================================== --- head/devel/tcllib/Makefile Fri Jun 5 07:26:27 2015 (r388573) +++ head/devel/tcllib/Makefile Fri Jun 5 08:20:12 2015 (r388574) @@ -35,7 +35,7 @@ INSTALL_ARGS= -pkgs -pkg-path ${STAGEDIR # # Man pages # -.if ${PORT_OPTIONS:MMANPAGES} && !(defined(ALL_TARGET) && ${ALL_TARGET:Mcritcl}) +.if !empty(${PORT_OPTIONS:MMANPAGES}) && !(defined(ALL_TARGET) && ${ALL_TARGET:Mcritcl}) ALL_TARGET+= nroff-doc INSTALL_ARGS+= -nroff-path ${STAGEDIR}${PREFIX}/man/mann PLIST_SUB+= MAN="" @@ -47,7 +47,7 @@ PLIST_SUB+= MAN="@comment " # # HTML documentation # -.if ${PORT_OPTIONS:MDOCS} && !(defined(ALL_TARGET) && ${ALL_TARGET:Mcritcl}) +.if !empty(${PORT_OPTIONS:MDOCS}) && !(defined(ALL_TARGET) && ${ALL_TARGET:Mcritcl}) ALL_TARGET+= html-doc INSTALL_ARGS+= -html-path ${STAGEDIR}${DOCSDIR} .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506050820.t558KC9g053199>