ZMusic: fix cross build
This commit is contained in:
parent
9e03b34683
commit
9473cbb447
2 changed files with 28 additions and 1 deletions
28
srcpkgs/ZMusic/patches/0001-fix-cross.patch
Normal file
28
srcpkgs/ZMusic/patches/0001-fix-cross.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
From b430f543c850acfb98751bfcf5343afb397cf049 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nathan Owens <ndowens@artixlinux.org>
|
||||||
|
Date: Thu, 31 Dec 2020 09:18:14 -0600
|
||||||
|
Subject: [PATCH] fix cross
|
||||||
|
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 5 -----
|
||||||
|
1 file changed, 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git CMakeLists.txt CMakeLists.txt
|
||||||
|
index 5f4cb14..28e622b 100644
|
||||||
|
--- CMakeLists.txt
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -24,11 +24,6 @@ if( FORCE_CROSSCOMPILE )
|
||||||
|
set( CMAKE_CROSSCOMPILING TRUE )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-if(CMAKE_CROSSCOMPILING)
|
||||||
|
- set(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Export file from native build.")
|
||||||
|
- include(${IMPORT_EXECUTABLES})
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
|
||||||
|
# Macro for building libraries without debugging information
|
||||||
|
macro( make_release_only )
|
||||||
|
--
|
||||||
|
2.30.0
|
||||||
|
|
|
@ -14,7 +14,6 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/coelckers/ZMusic"
|
homepage="https://github.com/coelckers/ZMusic"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=5f432b022e023175eae7701625f79287e9ffe889a444179681381026b4fb93bf
|
checksum=5f432b022e023175eae7701625f79287e9ffe889a444179681381026b4fb93bf
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
makedepends+=" musl-fts-devel"
|
makedepends+=" musl-fts-devel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue