Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 13:31:35 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417764 - head/Mk/Uses
Message-ID:  <201606291331.u5TDVZmM023844@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Jun 29 13:31:35 2016
New Revision: 417764
URL: https://svnweb.freebsd.org/changeset/ports/417764

Log:
  For some reason, != "" and == "" don't work the same with make and
  fmake, but, empty does.
  
  Pointy hat to:	mat, or make(1) pick one.
  Sponsored by:	Absolight

Modified:
  head/Mk/Uses/php.mk

Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk	Wed Jun 29 13:15:47 2016	(r417763)
+++ head/Mk/Uses/php.mk	Wed Jun 29 13:31:35 2016	(r417764)
@@ -377,8 +377,8 @@ zlib_DEPENDS=	archivers/php${PHP_VER}-zl
 
 .    for extension in ${USE_PHP}
 ext=		${extension}
-.      if ${_USE_PHP_VER${PHP_VER}:M${ext:S/:build//}} != ""
-.        if ${PHP_EXT_INC:M${extension:S/:build//}} == ""
+.      if !empty(_USE_PHP_VER${PHP_VER}:M${extension:S/:build//})
+.        if empty(PHP_EXT_INC:M${extension:S/:build//})
 .          if !empty(php_ARGS:Mbuild) || !empty(ext:M*\:build)
 BUILD_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/${extension:S/:build//}.so:${${extension:S/:build//}_DEPENDS}
 .          endif



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