pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql-client use {CFLAGS,CXXFLAGS}.SunOS ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c1083d145b5
branches:  trunk
changeset: 496598:8c1083d145b5
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jul 05 08:49:44 2005 +0000

description:
use {CFLAGS,CXXFLAGS}.SunOS instead of conditional.

diffstat:

 databases/mysql-client/Makefile.common |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 3088a8b8017c -r 8c1083d145b5 databases/mysql-client/Makefile.common
--- a/databases/mysql-client/Makefile.common    Tue Jul 05 08:48:41 2005 +0000
+++ b/databases/mysql-client/Makefile.common    Tue Jul 05 08:49:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2005/07/05 08:48:41 grant Exp $
+# $NetBSD: Makefile.common,v 1.45 2005/07/05 08:49:44 grant Exp $
 
 DISTNAME=              mysql-4.0.24
 CATEGORIES=            databases
@@ -66,10 +66,8 @@
 
 # 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
 
 .include "../../mk/pthread.buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index