ports/150488: DTrace support for mysql55-server
Rui Paulo
rpaulo at FreeBSD.org
Sat Sep 11 11:40:05 UTC 2010
The following reply was made to PR ports/150488; it has been noted by GNATS.
From: Rui Paulo <rpaulo at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/150488: DTrace support for mysql55-server
Date: Sat, 11 Sep 2010 12:07:02 +0100
--Apple-Mail-1-953345036
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Corrected patch attached.
--
Rui Paulo
--Apple-Mail-1-953345036
Content-Disposition: attachment;
filename=patch.txt
Content-Type: text/plain;
x-unix-mode=0644;
name="patch.txt"
Content-Transfer-Encoding: quoted-printable
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/databases/mysql55-server/Makefile,v
retrieving revision 1.262
diff -u -p -r1.262 Makefile
--- Makefile 27 Jul 2010 15:10:54 -0000 1.262
+++ Makefile 11 Sep 2010 11:06:04 -0000
@@ -45,6 +45,10 @@ CONFIGURE_ARGS+=3D--with-charset=3D${WITH_CH
.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} !=3D ""
CONFIGURE_ARGS+=3D--with-extra-charsets=3D${WITH_XCHARSET}
.endif
+.if defined(WITH_DTRACE)
+CONFIGURE_ARGS+=3D--enable-dtrace
+CONFIGURE_ENV+=3D"LDFLAGS=3D-lelf"
+.endif
.if defined(WITH_OPENSSL)
.if !defined(WITHOUT_YASSL)
CONFIGURE_ARGS+=3D--with-ssl=3Dbundled
@@ -123,6 +127,7 @@ pre-fetch:
@${ECHO} " WITH_CHARSET=3Dcharset Define the primary =
built-in charset (latin1)."
@${ECHO} " WITH_XCHARSET=3Dlist Define other built-in =
charsets (may be 'all')."
@${ECHO} " WITH_COLLATION=3Dcollate Define default =
collation (latin1_swedish_ci)."
+ @${ECHO} " WITH_DTRACE=3Dyes Enable DTrace =
probes."
@${ECHO} " WITH_OPENSSL=3Dyes Enable secure =
connections"
@${ECHO} " (define WITHOUT_YASSL =
for backward compatibility)."
@${ECHO} " WITH_LINUXTHREADS=3Dyes Use the linuxthreads =
pthread library."
Index: files/patch-configure.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: =
/home/pcvs/ports/databases/mysql55-server/files/patch-configure.am,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure.am
--- files/patch-configure.am 16 Jul 2010 10:24:46 -0000 1.2
+++ files/patch-configure.am 11 Sep 2010 11:06:04 -0000
@@ -1,5 +1,5 @@
---- configure.am.orig 2010-07-06 20:37:18.000000000 +0200
-+++ configure.am 2010-07-16 11:11:48.000000000 +0200
+--- configure.am.orig 2010-07-06 19:37:18.000000000 +0100
++++ configure.am 2010-09-09 13:06:42.000000000 +0100
@@ -990,6 +990,8 @@
MYSQL_BASE_VERSION
MYSQL_NO_DASH_VERSION
@@ -9,6 +9,15 @@
TEST_NDBCLUSTER
MAKEINDEX
PDFLATEX
+@@ -12651,7 +12653,7 @@
+ _ACEOF
+=20
+ case "$target_os" in
+- *solaris*)
++ *solaris*|*freebsd*)
+ HAVE_DTRACE_DASH_G=3D"yes"
+ ;;
+ *)
@@ -12684,6 +12686,8 @@
NDB_VERSION_MINOR=3D`echo $MYSQL_NUMERIC_VERSION | cut -d. -f2`
NDB_VERSION_BUILD=3D`echo $MYSQL_NUMERIC_VERSION | cut -d. -f3`
--Apple-Mail-1-953345036--
More information about the freebsd-ports-bugs
mailing list