termux-packages/packages/imgflo/env.sh.in.patch

21 lines
747 B
Diff

--- ../cache/imgflo-0.4.2/env.sh.in 2016-08-21 08:46:27.000000000 +0000
+++ ./env.sh.in 2017-05-11 02:54:53.849611941 +0000
@@ -1,17 +1,3 @@
#!/bin/bash
-
-PREFIX="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
-export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:$PKG_CONFIG_PATH
-export LD_LIBRARY_PATH=${PREFIX}/lib:$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=${PREFIX}/lib:$DYLD_LIBRARY_PATH
-export ACLOCAL_PATH=${PREFIX}/share/aclocal:$ACLOCAL_PATH
-export PATH=${PREFIX}/bin:$PATH
-export GEGL_PATH=${PREFIX}/lib/imgflo/operations:${PREFIX}/lib/gegl-0.3:${GEGL_PATH}
-export BABL_PATH=${PREFIX}/lib/babl-0.1
-
# If not sourcing the script, execute the command that follows
-if [[ "${BASH_SOURCE[0]}" = "${0}" ]];
-then
exec "$@"
-fi