summaryrefslogtreecommitdiffstats
path: root/source/n/php
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-11-14 02:43:46 +0000
committer Eric Hameleers <alien@slackware.com>2020-11-14 08:59:53 +0100
commitb22bcef8a48210e2abd55e7e5f653d4c0086958f (patch)
tree4c48bdf77ee11f7155fc638540272b846e54b4b0 /source/n/php
parent99ea674f03390ed00388dfc3a84e4d1537eb3696 (diff)
downloadcurrent-b22bcef8a48210e2abd55e7e5f653d4c0086958f.tar.gz
current-b22bcef8a48210e2abd55e7e5f653d4c0086958f.tar.xz
Sat Nov 14 02:43:46 UTC 202020201114024346
a/kernel-firmware-20201113_2ea8667-noarch-1.txz: Upgraded. d/gcc-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-brig-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-g++-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-gdc-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-gfortran-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-gnat-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-go-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. d/gcc-objc-9.3.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.23. l/isl-0.23-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-urllib3-1.26.2-x86_64-1.txz: Upgraded. n/gpgme-1.15.0-x86_64-1.txz: Upgraded. n/openssh-8.4p1-x86_64-3.txz: Rebuilt. Fix ssh-copy-id EOF bug. Thanks to OldHolborn. n/php-7.4.12-x86_64-3.txz: Rebuilt. Don't include c-client information in php-config output. Thanks to Chalapticus. xap/xine-lib-1.2.10-x86_64-4.txz: Rebuilt. Recompiled against imagemagick-7.0.10_37. Thanks to RandomTroll. extra/pure-alsa-system/xine-lib-1.2.10-x86_64-4_alsa.txz: Rebuilt. Recompiled against imagemagick-7.0.10_37. Thanks to RandomTroll. testing/packages/gcc10/gcc-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-brig-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-g++-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-gdc-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-gfortran-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-gnat-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-go-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/gcc10/gcc-objc-10.2.0-x86_64-2.txz: Rebuilt. Recompiled against isl-0.23. testing/packages/vtown/deps/dvdauthor-0.7.2-x86_64-1_vtown_2.txz: Rebuilt. Recompiled against imagemagick-7.0.10_37. testing/source/vtown/kde/digikam-7.1.0-x86_64-1_vtown_2.txz: Rebuilt. Recompiled against imagemagick-7.0.10_37. Thanks to etienne.
Diffstat (limited to 'source/n/php')
-rwxr-xr-xsource/n/php/php.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/n/php/php.SlackBuild b/source/n/php/php.SlackBuild
index a670e9ffe..b2a4cb853 100755
--- a/source/n/php/php.SlackBuild
+++ b/source/n/php/php.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=php
VERSION=${VERSION:-$(echo php-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
ALPINE=2.24
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -271,6 +271,10 @@ CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1 -DU_DEFINE_FALSE_AND_TRUE=1" \
make $NUMJOBS || make || exit 1
make install INSTALL_ROOT=$PKG || exit 1
+# Don't include the c-client library in php-config output:
+sed -i "s| -L/usr/local/lib${LIBDIRSUFFIX}/c-client/lib${LIBDIRSUFFIX}||g" $PKG/usr/bin/php-config
+sed -i "s| -lc-client||g" $PKG/usr/bin/php-config
+
mkdir -p $PKG/etc/{rc.d,php-fpm.d}
cp sapi/fpm/init.d.php-fpm $PKG/etc/rc.d/rc.php-fpm.new
chmod 644 $PKG/etc/rc.d/rc.php-fpm.new