~alpine/aports

[PATCH] testing/libfaketime: PREFIX is relevant during building

Norbert van Bolhuis <nvbolhuis@gmail.com>
Details
Message ID
<c181e5b2-faca-e50b-9ac1-287e2519a713@gmail.com>
DKIM signature
missing
Download raw message
faketime doesn't seem to work because it looks for the hard-coded
"PREFIX/.../libfaketime[MT].so.1" which it cannot find.
This is because the installation is done in PREFIX="/usr" while during
complation the (default) PREFIX="/usr/local" applies. So we better
use the same PREFIX for building.

Signed-off-by: Norbert van Bolhuis <nvbolhuis@gmail.com>
---
testing/libfaketime/APKBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/libfaketime/APKBUILD b/testing/libfaketime/APKBUILD
index 1b2f8eb8..24e13ab8 100644
--- a/testing/libfaketime/APKBUILD
+++ b/testing/libfaketime/APKBUILD
@@ -12,7 +12,7 @@ options="!check" # 
https://github.com/wolfcw/libfaketime/issues/259
source="$pkgname-$pkgver.tar.gz::https://github.com/wolfcw/libfaketime/archive/v0.9.8.tar.gz"

build() {
-	make
+	make PREFIX="/usr"
}

check() {
--
2.26.2
Reply to thread Export thread (mbox)