diff --git a/lib/shpkg.subr b/lib/shpkg.subr
index 70a9ad7..83d5970 100644
--- a/lib/shpkg.subr
+++ b/lib/shpkg.subr
@@ -211,7 +211,7 @@ shpkg_fake () {
verbose mkdir -p "${SHPKG_REPO_FAKE_DIR}"
if [ -f "${SHPKG_REPO_SRC_DIR}/Makefile" ]; then
( verbose cd "${SHPKG_REPO_SRC_DIR}" &&
- verbose make PREFIX="${SHPKG_REPO_FAKE_DIR}" install; )
+ verbose make DESTDIR="${SHPKG_REPO_FAKE_DIR}" install; )
elif [ -f "${SHPKG_REPO_SRC_DIR}/CMakeLists.txt" ]; then
cmake --install "${SHPKG_OBJ_DIR}/${SHPKG_REPO_DIR}" --prefix "${SHPKG_REPO_FAKE_DIR}"
fi