From 0159891ed9ec00b2151e986bd8b67df141a67e28 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 27 Feb 2021 21:53:42 +1300 Subject: [PATCH] pkg(common): Add prefix variable Prefix is used for autoconf based projects so that absolute paths can be used. --- packages/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/common.mk b/packages/common.mk index f998a2b..4f69da6 100644 --- a/packages/common.mk +++ b/packages/common.mk @@ -7,6 +7,7 @@ RUN_FILE=${BUILD_DIR}run COMPILE_FILE=${BUILD_DIR}compile ENV_FILE=${BIN_DIR}environment INFO_FILE=${BUILD_DIR}pkg-info.jq +PREFIX=/piston/packages/${NAME}/${VERSION}/${PKG_SLUG} PKG_FILE=${PKG_SLUG}.pkg.tar.gz