rm tea --prefix

This commit is contained in:
Jacob Heider 2023-10-02 10:17:26 -04:00
parent 90a0de5e50
commit 4fa1a85aff
No known key found for this signature in database
GPG key ID: A98011B5713535BF
5 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ build:
- make - make
- cp lib/libwangle.a {{prefix}}/lib - cp lib/libwangle.a {{prefix}}/lib
- sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake - sed -i.bak "s:$PKGX_DIR:\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake
- rm "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake.bak - rm "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake.bak
env: env:
ARGS: ARGS:

View file

@ -33,7 +33,7 @@ build:
cmake --build build cmake --build build
cmake --install build cmake --install build
sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake sed -i.bak "s:$PKGX_DIR:\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake
rm "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake.bak rm "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake.bak
env: env:
ARGS: ARGS:

View file

@ -157,7 +157,7 @@ build:
rm $binfile.bak rm $binfile.bak
done done
sed -i.bak -e 's|{{ prefix }}|\\$(shell tea --prefix)/python.org/v{{version.major}}|g' $confdir/Makefile sed -i.bak -e 's|{{ prefix }}|\\$(or $(PKGX_DIR),$(HOME)/.pkgx)/python.org/v{{version.major}}|g' $confdir/Makefile
rm $confdir/Makefile.bak rm $confdir/Makefile.bak
working-directory: ${{prefix}} working-directory: ${{prefix}}

View file

@ -7,7 +7,7 @@
# - for tea-envs the user probably wont use tea.xyz/gx/cc even though they *should* # - for tea-envs the user probably wont use tea.xyz/gx/cc even though they *should*
# and thus we set LDFLAGS in the hope that they will be picked up and the rpath set # and thus we set LDFLAGS in the hope that they will be picked up and the rpath set
$pkgx_prefix = ENV['PKGX_DIR'] || `tea --prefix`.chomp $pkgx_prefix = ENV['PKGX_DIR'] || ENV['HOME'].chomp
exe = File.basename($0) exe = File.basename($0)
# remove duplicates since this in fact embeds the rpath multiple times # remove duplicates since this in fact embeds the rpath multiple times

View file

@ -20,7 +20,7 @@ build:
make -j {{ hw.concurrency }} install make -j {{ hw.concurrency }} install
cd {{prefix}}/bin cd {{prefix}}/bin
sed -i.bak -e "s|$PKGX_DIR/|$(tea --prefix)/|g" unbound-control-setup sed -i.bak -e "s|$PKGX_DIR/|\$PKGX_DIR/|g" unbound-control-setup
rm unbound-control-setup.bak rm unbound-control-setup.bak
env: env:
ARGS: ARGS: