svn commit: r308525 - head/www/chromium
Rene Ladan
rene at FreeBSD.org
Sun Dec 9 11:44:09 UTC 2012
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
More information about the svn-ports-all
mailing list