Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 12:02:41 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377169 - in head/devel/pecl-qb: . files
Message-ID:  <201501161202.t0GC2f8H024483@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Fri Jan 16 12:02:40 2015
New Revision: 377169
URL: https://svnweb.freebsd.org/changeset/ports/377169
QAT: https://qat.redports.org/buildarchive/r377169/

Log:
  Update to 2.4.0 release, supporting php 5.6.

Added:
  head/devel/pecl-qb/files/
  head/devel/pecl-qb/files/extra-patch-libmissing   (contents, props changed)
  head/devel/pecl-qb/files/patch-config.m4   (contents, props changed)
Modified:
  head/devel/pecl-qb/Makefile
  head/devel/pecl-qb/distinfo

Modified: head/devel/pecl-qb/Makefile
==============================================================================
--- head/devel/pecl-qb/Makefile	Fri Jan 16 11:16:20 2015	(r377168)
+++ head/devel/pecl-qb/Makefile	Fri Jan 16 12:02:40 2015	(r377169)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	qb
-PORTVERSION=	2.2.0
+PORTVERSION=	2.4.0
 CATEGORIES=	devel
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -19,4 +19,12 @@ USE_PHPEXT=	yes
 USES=		tar:tgz
 USE_GCC=	any
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000034
+LIB_DEPENDS+=	libmissing.so:${PORTSDIR}/math/libmissing
+CONFIGURE_ARGS=	--with-libmissing=${LOCALBASE}
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-libmissing
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/devel/pecl-qb/distinfo
==============================================================================
--- head/devel/pecl-qb/distinfo	Fri Jan 16 11:16:20 2015	(r377168)
+++ head/devel/pecl-qb/distinfo	Fri Jan 16 12:02:40 2015	(r377169)
@@ -1,2 +1,2 @@
-SHA256 (PECL/qb-2.2.0.tgz) = fa3c626506e6d7df46429afd3b4828b7b90bc479c0ab3b4c3b89c736c0bcfa19
-SIZE (PECL/qb-2.2.0.tgz) = 1090431
+SHA256 (PECL/qb-2.4.0.tgz) = c85aed6cffefa054b0f0e06a56df367e224139c5d8ad377c33ebea457f03b5b6
+SIZE (PECL/qb-2.4.0.tgz) = 930521

Added: head/devel/pecl-qb/files/extra-patch-libmissing
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-qb/files/extra-patch-libmissing	Fri Jan 16 12:02:40 2015	(r377169)
@@ -0,0 +1,11 @@
+--- qb_interpreter_functions.h.orig	2014-12-10 10:54:35.485422703 +0000
++++ qb_interpreter_functions.h	2014-12-10 10:54:54.694421330 +0000
+@@ -22,6 +22,8 @@
+ #ifndef QB_INTERPRETER_FUNCTIONS_H_
+ #define QB_INTERPRETER_FUNCTIONS_H_
+ 
++#include <missing_complex.h>
++
+ int qb_compare_ascending_F32(const void *p1, const void *p2);
+ int qb_compare_ascending_F32_array(const void *p1, const void *p2, const void *p3);
+ int qb_compare_ascending_F64(const void *p1, const void *p2);

Added: head/devel/pecl-qb/files/patch-config.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-qb/files/patch-config.m4	Fri Jan 16 12:02:40 2015	(r377169)
@@ -0,0 +1,26 @@
+--- config.m4.orig	2014-07-21 00:45:49.000000000 +0000
++++ config.m4	2014-12-10 10:26:17.724992764 +0000
+@@ -13,6 +13,9 @@
+ PHP_ARG_WITH(cpu, whether to enable CPU-specific optimization,
+ [  --with-cpu[=arch]         Enable optimization specific to CPU archecture], no, no)
+ 
++PHP_ARG_WITH(libmissing, whether to link libmissing,
++[  --with-libmissing[=prefix]         Link libmissing], no, no)
++
+ if test "$PHP_QB" != "no"; then
+   qb_cflags=""
+ 
+@@ -37,6 +40,13 @@
+     	qb_cflags="$qb_cflags -march=$PHP_CPU"
+     fi
+   fi
++
++  if test "$PHP_LIBMISSING" != "no"; then
++    LIBMISSING_INCDIR="$PHP_LIBMISSING/include"
++    LIBMISSING_LIBDIR="$PHP_LIBMISSING/lib"
++    PHP_ADD_LIBRARY_WITH_PATH("missing", $LIBMISSING_LIBDIR, QB_SHARED_LIBADD)
++    PHP_ADD_INCLUDE($LIBMISSING_INCDIR)
++  fi
+   
+   AC_MSG_CHECKING([whether CC supports -march=native])
+   ac_saved_cflags="$CFLAGS"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501161202.t0GC2f8H024483>