tChange archive path for better deps - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 120effd2d326df2e337b41a6b094d3298e61b76c
(DIR) parent cd0c8bf88b97da7a8a100b23dc2df87b4bb13060
(HTM) Author: Willy <willyatmailoodotorg>
Date: Tue, 7 Jun 2016 23:11:43 +0200
Change archive path for better deps
Diffstat:
M default.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/default.mk b/default.mk
t@@ -60,7 +60,7 @@ fetch-git:QV:
# if $url is set, download/extract the archive, and move its
# content to a directory named $pkg-$ver
-fetch-archive:QV: $archive
+fetch-archive:QV: $WORK/$archive
if [ -n "$url" ]; then
cd $WORK
case $archive in
t@@ -75,7 +75,7 @@ fetch-archive:QV: $archive
fi
fi
-$archive:Q:
+$WORK/$archive:Q:
if [ -n "$url" ]; then
mkdir -p $WORK
cd $WORK