summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/Makefile.common
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-02-05 11:01:19 +0000
committerjperkin <jperkin@pkgsrc.org>2013-02-05 11:01:19 +0000
commit9c3c8389d956e836937b47261ff6d063def8a812 (patch)
treeb7c7b7e94a78a106f380d28d3d7cf7409db558b6 /databases/mysql55-client/Makefile.common
parent34e132f0a880792428aa529bfcdee0fb8231fae4 (diff)
downloadpkgsrc-9c3c8389d956e836937b47261ff6d063def8a812.tar.gz
Ensure the correct DTrace ABI is used. Fixes Solaris 32-bit build.
Diffstat (limited to 'databases/mysql55-client/Makefile.common')
-rw-r--r--databases/mysql55-client/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/mysql55-client/Makefile.common b/databases/mysql55-client/Makefile.common
index 3e046b58196..b69cca5625c 100644
--- a/databases/mysql55-client/Makefile.common
+++ b/databases/mysql55-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2013/01/03 21:23:04 adam Exp $
+# $NetBSD: Makefile.common,v 1.25 2013/02/05 11:01:19 jperkin Exp $
#
# used by databases/mysql55-client/Makefile
# used by databases/mysql55-server/Makefile
@@ -75,6 +75,11 @@ GNU_ARCH.i386= i486
CFLAGS+= -march=i486
.endif
+# Ensure the correct DTrace ABI is used.
+.if !empty(ABI)
+CMAKE_ARGS+= -DDTRACE_FLAGS="-${ABI}"
+.endif
+
CPPFLAGS+= -Dunix
CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat