@ -31,4 +31,5 @@ fi
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir"
cd "$dir_install"
PATH=$PATH:/sbin $_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$version-$(uname -m)-astro.tgz"
export PATH="$PATH:/sbin"
$_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$version-$(uname -m)-astro.tgz"
@ -14,6 +14,7 @@ cd "$name-$version"
# Don't build the static library
sed -i -e '/yajl_s/d' \
-e '/COMMAND ${CMAKE_COMMAND}/d' src/CMakeLists.txt
find . -name "CMakeLists.txt" -exec sed -i -e '/TARGET_LINK_LIBRARIES/s/yajl_s/yajl/' '{}' \;
# Fix install dirs
sed -i -e "s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \