Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 11:44:08 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308525 - head/www/chromium
Message-ID:  <201212091144.qB9Bi8w4042233@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Dec  9 11:44:08 2012
New Revision: 308525
URL: http://svnweb.freebsd.org/changeset/ports/308525

Log:
  Use empty() instead of negation to check for non-set options.

Modified:
  head/www/chromium/Makefile

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Sun Dec  9 11:24:52 2012	(r308524)
+++ head/www/chromium/Makefile	Sun Dec  9 11:44:08 2012	(r308525)
@@ -83,7 +83,7 @@ OPTIONS_DEFAULT=	CODECS GCONF
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 900033 || ! ${PORT_OPTIONS:MCLANG}
+.if ${OSVERSION} < 900033 || empty(PORT_OPTIONS:MCLANG)
 BUILD_DEPENDS+=	${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
 CONFIGURE_ENV+=	COMPILER_PATH=${LOCALBASE}/bin
 MAKE_ENV+=	COMPILER_PATH=${LOCALBASE}/bin
@@ -110,7 +110,7 @@ GYP_DEFINES+=	use_pulseaudio=1
 GYP_DEFINES+=	use_pulseaudio=0
 .endif
 
-.if ! ${MACHINE_CPU:Msse2}
+.if empty(MACHINE_CPU:Msse2)
 GYP_DEFINES+=	disable_sse2=1
 .endif
 



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