pkgsrc-Bulk archive

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

Re: pkgsrc-upstream-trunk64 SunOS 5.11/x86_64 2014-06-15 22:43



On Mon, Jun 16, 2014 at 4:00 AM, Joyent Packages Development
<pkgsrc%joyent.com@localhost> wrote:

> databases/php-mysqli                      17 pkgsrc-users%NetBSD.org@localhost

The meaning of the "--with-mysqli" configure argument seems to have
changed somewhere along the way. At least in the default
(non-native-driver) options, the configure script says it's supposed
to point at the mysql_config(1) binary. When I do that, I can build
and package php-mysqli again.

I'd appreciate if someone who understands PHP stuff were to commit the
following diff, or something better:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/php-mysqli/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile    13 Jun 2014 14:17:07 -0000      1.10
+++ Makefile    16 Jun 2014 17:49:33 -0000
@@ -18,7 +18,7 @@
 CONFIGURE_ARGS+=       --with-${MODNAME}=shared,mysqlnd
 .else
 EVAL_PREFIX+=          MYSQLDIR=mysql-client
-CONFIGURE_ARGS+=
--with-${MODNAME}=shared,${BUILDLINK_PREFIX.mysql-client}
+CONFIGURE_ARGS+=
--with-${MODNAME}=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
 .  include "../../mk/mysql.buildlink3.mk"
 .endif


Home | Main Index | Thread Index | Old Index