From 5a53b094feba4ebeee73b4c73fc2828bdcca03c1 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 21 Apr 2023 02:09:00 -0400 Subject: [PATCH] fix(apr)[1] --- projects/apache.org/apr/package.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/apache.org/apr/package.yml b/projects/apache.org/apr/package.yml index b381f5b3..c690d9ec 100644 --- a/projects/apache.org/apr/package.yml +++ b/projects/apache.org/apr/package.yml @@ -22,6 +22,13 @@ build: cd ../bin sed -i.bak "s_{{prefix}}_\$(cd \$(dirname \$0)/.. \&\& pwd)_g" apr-{{version.major}}-config rm apr-{{version.major}}-config.bak + + cd ../build-1 + sed -i.bak \ + -e "s_{{prefix}}_\$(subst /bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \ + -e "s_${TEA_PREFIX}_\$(subst /apache.org/apr/v{{version}}/bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \ + apr_rules.mk + rm apr_rules.mk.bak env: # add any environment variables here ARGS: