aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tcllib
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-06-05 16:20:12 +0800
committerbapt <bapt@FreeBSD.org>2015-06-05 16:20:12 +0800
commit6c273a81ca2f8758936387aee83adef6a3adfc01 (patch)
tree14e134f6b33347ce0a925d90ca832acd0dd06b77 /devel/tcllib
parentd9b73ea7968cd4a0a84042c7584886e5c2c6bf1f (diff)
downloadfreebsd-ports-graphics-6c273a81ca2f8758936387aee83adef6a3adfc01.tar.gz
freebsd-ports-graphics-6c273a81ca2f8758936387aee83adef6a3adfc01.tar.zst
freebsd-ports-graphics-6c273a81ca2f8758936387aee83adef6a3adfc01.zip
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
Diffstat (limited to 'devel/tcllib')
-rw-r--r--devel/tcllib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/tcllib/Makefile b/devel/tcllib/Makefile
index 5f73877364b..847b5965bfa 100644
--- a/devel/tcllib/Makefile
+++ b/devel/tcllib/Makefile
@@ -35,7 +35,7 @@ INSTALL_ARGS= -pkgs -pkg-path ${STAGEDIR}${PREFIX}/lib/tcllib \
#
# 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