repo: Revert sed changes

This commit is contained in:
Dylan Araps 2020-01-29 19:42:59 +02:00
parent 2217317959
commit d8efedbe02
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 5 additions and 10 deletions

View File

@ -2,8 +2,7 @@
export DESTDIR="$1"
sed 's/SHARED/STATIC/' gmmlib/Source/GmmLib/CMakeLists.txt > _
mv -f _ gmmlib/Source/GmmLib/CMakeLists.txt
sed -i 's/SHARED/STATIC/' gmmlib/Source/GmmLib/CMakeLists.txt
cd media

View File

@ -1,7 +1,6 @@
#!/bin/sh -e
sed 's/pthread-stubs //' configure > _
mv -f _ configure
sed -i 's/pthread-stubs //' configure
./configure \
--prefix=/usr

View File

@ -6,8 +6,7 @@ export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
# Fix issues with musl and firefox.
# https://bugs.freedesktop.org/show_bug.cgi?id=35268
# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
sed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build > _
mv -f _ meson.build
sed -i "/pre_args += '-DUSE_ELF_TLS'/d" meson.build
meson \
--prefix=/usr \

View File

@ -1,7 +1,6 @@
#!/bin/sh -e
sed 's/Liberation Mono/Monospace/g' config.def.h > _
mv -f _ config.def.h
sed -i 's|Liberation Mono|Monospace|g' config.def.h
make
make PREFIX=/usr DESTDIR="$1" install

View File

@ -7,5 +7,4 @@
make
make DESTDIR="$1" install
sed 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx" > _
mv -f _ "$1/usr/bin/startx"
sed -i 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx"