From owner-svn-ports-head@FreeBSD.ORG Fri Jun 5 08:20:12 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC649194; Fri, 5 Jun 2015 08:20:12 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8D63159C; Fri, 5 Jun 2015 08:20:12 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t558KC1w053200; Fri, 5 Jun 2015 08:20:12 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t558KC9g053199; Fri, 5 Jun 2015 08:20:12 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201506050820.t558KC9g053199@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 5 Jun 2015 08:20:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388574 - head/devel/tcllib X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 08:20:13 -0000 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