From d6665c92c84783b7cf4e57a6f646f813f67fba75 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 12 May 2023 02:41:52 +0300 Subject: [PATCH] PHP fix versions (#1921) * fix versions * fixes * work around arch isses * final form (maybe) --------- Co-authored-by: Jacob Heider --- projects/php.net/package.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/projects/php.net/package.yml b/projects/php.net/package.yml index f65b73da..6d6a0619 100644 --- a/projects/php.net/package.yml +++ b/projects/php.net/package.yml @@ -3,8 +3,11 @@ distributable: strip-components: 1 versions: - github: php/php-src/tags - strip: /^php-/ + url: https://www.php.net/downloads.php + match: /php-\d+\.\d+\.\d+.tar.gz/ + strip: + - /^php-/ + - /\.tar\.gz$/ dependencies: gnu.org/bison: '*' @@ -48,8 +51,13 @@ build: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install - env: + # FIXME: this appears to be a regression related to + # https://github.com/teaxyz/brewkit/pull/99 + # It's breaking certain ld invocations, due to: + # TEA_PREFIX mysteriously unset + # collect2: error: ld returned 1 exit status + TEA_PREFIX: $(tea --prefix) ARGS: - --prefix={{prefix}} - --enable-bcmath