From 54b4f94ac7f84178e0baa33b1f49b39c557442af Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Feb 2016 11:46:20 +0000 Subject: Use OPSYSVARS. --- databases/mysql56-client/Makefile.common | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'databases/mysql56-client') diff --git a/databases/mysql56-client/Makefile.common b/databases/mysql56-client/Makefile.common index 391aab3b623..792fb546b12 100644 --- a/databases/mysql56-client/Makefile.common +++ b/databases/mysql56-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.29 2015/12/08 08:49:50 adam Exp $ +# $NetBSD: Makefile.common,v 1.30 2016/02/25 11:46:21 jperkin Exp $ # # used by databases/mysql56-client/Makefile # used by databases/mysql56-server/Makefile @@ -41,9 +41,7 @@ PKG_GROUPS_VARS+= MYSQL_GROUP CONFIG_SHELL= ${TOOLS_PATH.bash} -.if ${OPSYS} == "IRIX" -CFLAGS+= -DIRIX5 -DNEEDS_BSTRING_H -.endif +CFLAGS.IRIX+= -DIRIX5 -DNEEDS_BSTRING_H BUILD_DEFS+= VARBASE @@ -90,11 +88,9 @@ CXXFLAGS+= -fPIC -DPIC # Force HAVE_CURSES_H on Solaris since the configure script is broken # and does not properly detect this, breaking the build later on. Also # explicitly disable epoll support as it is Linux-specific. -.if ${OPSYS} == "SunOS" -CMAKE_ARGS+= -DHAVE_SYS_EPOLL_H=NO -CFLAGS+= -DHAVE_CURSES_H -CXXFLAGS+= -DHAVE_CURSES_H -.endif +CMAKE_ARGS.SunOS+= -DHAVE_SYS_EPOLL_H=NO +CFLAGS.SunOS+= -DHAVE_CURSES_H +CXXFLAGS.SunOS+= -DHAVE_CURSES_H .include "../../mk/pthread.buildlink3.mk" -- cgit v1.2.3