From owner-svn-ports-head@freebsd.org Wed Jun 29 13:31:36 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 725A1B8173B; Wed, 29 Jun 2016 13:31:36 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 413C72217; Wed, 29 Jun 2016 13:31:36 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5TDVZkk023845; Wed, 29 Jun 2016 13:31:35 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5TDVZmM023844; Wed, 29 Jun 2016 13:31:35 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201606291331.u5TDVZmM023844@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 29 Jun 2016 13:31:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417764 - head/Mk/Uses 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.22 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: Wed, 29 Jun 2016 13:31:36 -0000 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