diff --git a/base/ccache/ccache.SMBuild b/base/ccache/ccache.SMBuild index 47c02a1..7d02cef 100755 --- a/base/ccache/ccache.SMBuild +++ b/base/ccache/ccache.SMBuild @@ -1,6 +1,6 @@ app=ccache version=3.7.9 -build=1sml +build=2sml homepage="https://ccache.dev/" download="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version.tar.xz" desc="Compiler cache to speed up re-compilation of C/C++ code by caching previous compiles" @@ -25,6 +25,16 @@ build() { cp GPL* $pkgdocs/ + # Make some necessary symlinks + mkdir -p $pkg/lib/ccache + ( + cd $pkg/lib/ccache + ln -sf ../../bin/ccache gcc + ln -sf ../../bin/ccache g++ + ln -sf ../../bin/ccache cc + ln -sf ../../bin/ccache c++ + ) + mkfinalpkg } diff --git a/net/distcc/distcc.SMBuild b/net/distcc/distcc.SMBuild index 2425e7a..3ff4943 100755 --- a/net/distcc/distcc.SMBuild +++ b/net/distcc/distcc.SMBuild @@ -1,6 +1,6 @@ app=distcc version=3.4 -build=1sml +build=2sml homepage="https://distcc.github.io/" download="https://github.com/distcc/distcc/releases/download/v$version/distcc-$version.tar.gz" desc="Distributed C and C++ compiler daemon for parallel building" @@ -30,6 +30,15 @@ build() { cp COPYING $pkgdocs/ + mkdir -p $pkg/lib/distcc + ( + cd $pkg/lib/distcc + ln -sf ../../bin/distcc gcc + ln -sf ../../bin/distcc cc + ln -sf ../../bin/distcc g++ + ln -sf ../../bin/distcc c++ + ) + mkfinalpkg }