diff options
author | tnn <tnn> | 2007-10-16 23:48:58 +0000 |
---|---|---|
committer | tnn <tnn> | 2007-10-16 23:48:58 +0000 |
commit | 3b59682564cbc2467ee05d18fd888d19bad13868 (patch) | |
tree | b29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /databases | |
parent | 5353ea94f08028992ec2086c3b1ea7299957b4c5 (diff) | |
download | pkgsrc-3b59682564cbc2467ee05d18fd888d19bad13868.tar.gz |
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db3/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql4-client/Makefile.common | 4 | ||||
-rw-r--r-- | databases/mysql5-client/Makefile.common | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/databases/db3/Makefile b/databases/db3/Makefile index 746e4f33e49..afd31865ef4 100644 --- a/databases/db3/Makefile +++ b/databases/db3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2006/03/04 21:29:08 jlam Exp $ +# $NetBSD: Makefile,v 1.33 2007/10/16 23:48:59 tnn Exp $ DISTNAME= db-3.3.11 PKGNAME= db3-3.11.2 @@ -34,7 +34,7 @@ CONFIGURE_ARGS+= --enable-compat185 .include "../../mk/bsd.prefs.mk" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CONFIGURE_ENV+= ac_cv_header_inttypes_h=no .endif diff --git a/databases/mysql4-client/Makefile.common b/databases/mysql4-client/Makefile.common index e5b1a888c1e..c5138530047 100644 --- a/databases/mysql4-client/Makefile.common +++ b/databases/mysql4-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.59 2007/07/09 22:27:36 adrianp Exp $ +# $NetBSD: Makefile.common,v 1.60 2007/10/16 23:48:59 tnn Exp $ DISTNAME= mysql-4.1.22 CATEGORIES= databases @@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --with-named-z-libs=z CONFIGURE_ARGS+= --without-libwrap CONFIGURE_ARGS+= --with-named-curses-libs="-lcurses -ltermcap" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CFLAGS+= -DIRIX5 -DNEEDS_BSTRING_H # libgen is incorrectly detected CONFIGURE_ENV+= ac_cv_lib_gen_p2open="no" diff --git a/databases/mysql5-client/Makefile.common b/databases/mysql5-client/Makefile.common index 1079eaa2d14..5d44e19e4af 100644 --- a/databases/mysql5-client/Makefile.common +++ b/databases/mysql5-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2007/10/12 14:32:45 rillig Exp $ +# $NetBSD: Makefile.common,v 1.27 2007/10/16 23:49:00 tnn Exp $ DISTNAME= mysql-5.0.45 CATEGORIES= databases @@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --with-named-z-libs=z CONFIGURE_ARGS+= --without-libwrap CONFIGURE_ARGS+= --with-named-curses-libs="-lcurses -ltermcap" -.if !empty(LOWER_OPSYS:Mirix5*) +.if ${OPSYS} == "IRIX" CFLAGS+= -DIRIX5 -DNEEDS_BSTRING_H # libgen is incorrectly detected CONFIGURE_ENV+= ac_cv_lib_gen_p2open="no" |