1
0
forked from ports/contrib

clementine: make sure we do not have ccache masquerade directory in PATH as cmake calls ccache directly

This commit is contained in:
Danny Rawlins 2017-10-12 21:27:18 +11:00
parent bc55deb127
commit 85919540f0
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xz0/DEuUoAUhNEXyPZ6UDVUAl0ZzrdFcb6p+guHeDt4VzX1t7DU270AMh8fd5l2vxQHYYgS6LcAdsCE4l2Z6Qs=
SHA256 (Pkgfile) = 02f4bdd561452ac3796b3d813a6f81fba7d8b192978fc3c223d78ad1e4736efc
RWSagIOpLGJF3zJwtmC4CijgOhlvh+QvRoFC7JV6P9kULmKglpSSXNweL0rpBVV9ps5cXoxmyLCgL0Xj7evYhe+fkILQORU/zwo=
SHA256 (Pkgfile) = 0c5914336a56f950292b34cd7794c7bbe557264179636dec690cf5c26bf5a1e4
SHA256 (.footprint) = 3f1bad4230e6fa52cf3322aee039d5ce640d26e8fbe4aac8df657f1b7ad8938b
SHA256 (1.3.1.tar.gz) = f885931a9ab7c88607d07b50c64fcce46fc05f13dd2c0a04188c94eff938f37c
SHA256 (clementine-gcc6.patch) = 05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee

View File

@ -20,6 +20,11 @@ build() {
install -d build
cd build
# make sure we do not have ccache masquerade directory in PATH
# as cmake calls ccache directly, this avoids recursvely
# calling ccache and CCACHE_PREFIX
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE='Release'