From 54b4f94ac7f84178e0baa33b1f49b39c557442af Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Feb 2016 11:46:20 +0000 Subject: Use OPSYSVARS. --- databases/mariadb55-client/Makefile.common | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'databases/mariadb55-client') diff --git a/databases/mariadb55-client/Makefile.common b/databases/mariadb55-client/Makefile.common index 96a5abe3bea..4f35699b8c1 100644 --- a/databases/mariadb55-client/Makefile.common +++ b/databases/mariadb55-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.2 2015/05/07 12:45:28 fhajny Exp $ +# $NetBSD: Makefile.common,v 1.3 2016/02/25 11:46:21 jperkin Exp $ # # used by databases/mariadb55-client/Makefile # used by databases/mariadb55-server/Makefile @@ -43,9 +43,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 @@ -93,10 +91,8 @@ 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. -.if ${OPSYS} == "SunOS" -CFLAGS+= -DHAVE_CURSES_H -CXXFLAGS+= -DHAVE_CURSES_H -.endif +CFLAGS.SunOS+= -DHAVE_CURSES_H +CXXFLAGS.SunOS+= -DHAVE_CURSES_H # SCO OpenServer 5.0.7/3.2's readdir_r has 2 arguments and return struct dirent. .if ${OS_VARIANT} == "SCOOSR5" -- cgit v1.2.3