Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php72
0002-Prevent-PEAR-package-from-bringing-in-deve...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Prevent-PEAR-package-from-bringing-in-devel.patch of Package scl-php72
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Cory McIntire <cory@cpanel.net> Date: Fri, 2 Mar 2018 11:03:30 -0600 Subject: [PATCH 02/13] Prevent PEAR package from bringing in devel Source: https://bugzilla.redhat.com/show_bug.cgi?id=657812 --- scripts/phpize.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/phpize.in b/scripts/phpize.in index afec191c..3bcd5ab5 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -162,6 +162,15 @@ phpize_autotools() $PHP_AUTOHEADER || exit 1 } +phpize_check_headers() +{ + if test ! -f $includedir/main/php.h; then + echo "Can't find PHP headers in $includedir" + echo "The php-devel package is required for use of this command." + exit 1 + fi +} + # Main script case "$1" in @@ -180,12 +189,15 @@ case "$1" in # Version --version|-v) + phpize_check_headers phpize_print_api_numbers exit 0 ;; # Default *) + phpize_check_headers + phpize_check_configm4 0 phpize_check_build_files
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor