diff options
author | jperkin <jperkin> | 2016-02-25 11:46:20 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 11:46:20 +0000 |
commit | 54b4f94ac7f84178e0baa33b1f49b39c557442af (patch) | |
tree | d51b7272eb47521b39eac24eacb5a7b3789664da /databases/mariadb55-client | |
parent | a1540fc5fac196add6ff5b3e148775b69e3297c9 (diff) | |
download | pkgsrc-54b4f94ac7f84178e0baa33b1f49b39c557442af.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'databases/mariadb55-client')
-rw-r--r-- | databases/mariadb55-client/Makefile.common | 12 |
1 files changed, 4 insertions, 8 deletions
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" |