summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-05-06 09:31:02 +0000
committerJay Freeman <saurik@saurik.com>2008-05-06 09:31:02 +0000
commitddfd304a75632fbb7d8da8c5802675ea9e8bac8b (patch)
tree2c7aa6613528e27153a9241aaddab5d614f4502f
parent8bb3b7d785405c244049c17d69985dd6ace9e76d (diff)
Added prefix munging.
git-svn-id: http://svn.telesphoreo.org/trunk@259 514c082c-b64e-11dc-b46d-3d985efe055d
-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}" \
"$@"
}