summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make.sh b/make.sh
index 79c3cd6d9..5a3f7329e 100755
--- a/make.sh
+++ b/make.sh
@@ -50,6 +50,7 @@ function pkg:patch() {
pkg:libtool_ ltmain.sh
for diff in "${PKG_DATA}"/*.diff; do
+ echo "patching with ${diff}..."
patch -p1 <"${diff}"
done
}
@@ -108,7 +109,7 @@ function pkg:configure() {
--host="${PKG_TARG}" \
--enable-static=no \
--enable-shared=yes \
- --prefix=/usr \
+ --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/prefix") \
--localstatedir="/var/cache/${PKG_NAME}" \
"$@"
}