aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-12-09 19:44:08 +0800
committerrene <rene@FreeBSD.org>2012-12-09 19:44:08 +0800
commitfffb5f89b0601d96cd3d6a19a7c10349b09a9e12 (patch)
tree932b95eec01b6b15ef280559c17b0e14772c3de1 /www
parent2f035ccc42b5c23b08cb77c9a445f90c44917c99 (diff)
downloadfreebsd-ports-gnome-fffb5f89b0601d96cd3d6a19a7c10349b09a9e12.tar.gz
freebsd-ports-gnome-fffb5f89b0601d96cd3d6a19a7c10349b09a9e12.tar.zst
freebsd-ports-gnome-fffb5f89b0601d96cd3d6a19a7c10349b09a9e12.zip
Use empty() instead of negation to check for non-set options.
Diffstat (limited to 'www')
-rw-r--r--www/chromium/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 188d1bc69a1e..c1258f127c69 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -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