pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases mariadb*: cmake does not CPPFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64e1c9e3ceed
branches:  trunk
changeset: 453505:64e1c9e3ceed
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 30 16:33:29 2021 +0000

description:
mariadb*: cmake does not CPPFLAGS

diffstat:

 databases/mariadb104-client/Makefile.common |  7 +++----
 databases/mariadb105-client/Makefile.common |  6 ++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 89ddc0e8fad9 -r 64e1c9e3ceed databases/mariadb104-client/Makefile.common
--- a/databases/mariadb104-client/Makefile.common       Sun May 30 15:56:35 2021 +0000
+++ b/databases/mariadb104-client/Makefile.common       Sun May 30 16:33:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2021/05/25 11:18:25 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.8 2021/05/30 16:33:29 nia Exp $
 #
 # used by databases/mariadb104-client/Makefile
 # used by databases/mariadb104-server/Makefile
@@ -83,9 +83,7 @@
 CMAKE_ARGS+=           -DDTRACE_FLAGS="-${ABI}"
 .endif
 
-CPPFLAGS.NetBSD+=      -D_NETBSD_SOURCE
-
-CPPFLAGS.SunOS+=       -fPIC
+CFLAGS.SunOS+=         -fPIC
 
 REPLACE_PERL+=         scripts/mytop.sh
 REPLACE_PERL+=         sql-bench/*.sh
@@ -107,4 +105,5 @@
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/readline.buildlink3.mk"
 .include "../../mk/krb5.buildlink3.mk"
diff -r 89ddc0e8fad9 -r 64e1c9e3ceed databases/mariadb105-client/Makefile.common
--- a/databases/mariadb105-client/Makefile.common       Sun May 30 15:56:35 2021 +0000
+++ b/databases/mariadb105-client/Makefile.common       Sun May 30 16:33:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2021/05/25 11:18:26 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.5 2021/05/30 16:33:30 nia Exp $
 #
 # used by databases/mariadb105-client/Makefile
 # used by databases/mariadb105-server/Makefile
@@ -84,9 +84,7 @@
 CMAKE_ARGS+=           -DDTRACE_FLAGS="-${ABI}"
 .endif
 
-CPPFLAGS.NetBSD+=      -D_NETBSD_SOURCE
-
-CPPFLAGS.SunOS+=       -fPIC
+CFLAGS.SunOS+=         -fPIC
 
 REPLACE_PERL+=         scripts/mytop.sh
 REPLACE_PERL+=         sql-bench/*.sh



Home | Main Index | Thread Index | Old Index