summaryrefslogtreecommitdiff
path: root/Ports/bzip2/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/bzip2/package.sh')
-rwxr-xr-xPorts/bzip2/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/bzip2/package.sh b/Ports/bzip2/package.sh
index 2766d137fb..eefb5548e1 100755
--- a/Ports/bzip2/package.sh
+++ b/Ports/bzip2/package.sh
@@ -4,12 +4,12 @@ version=1.0.8
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz 67e051268d0c475ea773822f7500d0e5"
auth_type=md5
makeopts=bzip2
-installopts="PREFIX=${SERENITY_BUILD_DIR}/Root/usr/local"
+installopts="PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
build() {
run make CC="${CC}" $makeopts bzip2
}
install() {
- run make DESTDIR=$DESTDIR CC="${CC}" $installopts install
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" $installopts install
}