components/php/php56/patches/configure.in.patch
author Michael Nestler <Michael.Nestler@Oracle.COM>
Fri, 05 Jun 2015 09:47:02 -0700
branchs11-update
changeset 4418 7ae5fd823a4b
permissions -rw-r--r--
PSARC 2015/255 Update PHP to version 5.6.8 20161915 add PHP 5.6

# Allow building with no SAPI's.
# This is useful for, e.g., building modules separately.
# Based on patch at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188386
# Will not send upstream as this is port/build specific.
# Requires running autoconf to regenerate configure script.

diff -ru a/configure.in b/configure.in
--- a/configure.in	2014-11-12 05:52:21.000000000 -0800
+++ b/configure.in	2015-01-29 13:31:45.101366346 -0800
@@ -401,11 +401,6 @@
   AC_MSG_RESULT([none])
 fi
 
-dnl Exit early
-if test -z "$PHP_INSTALLED_SAPIS"; then
-  AC_MSG_ERROR([Nothing to build.])
-fi
-
 dnl force ZTS
 if test "$enable_maintainer_zts" = "yes"; then
   PTHREADS_ASSIGN_VARS