From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Tue, 3 Jul 2018 07:37:49 +0000 (+0800)
Subject: fixup-makefile.pl: fixup when PKG_SOURCE is defined elsewhere
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=24bf0c63dcde1a387b942e8733cf2371bff6d7dc;p=openwrt%2Fstaging%2Fxback.git

fixup-makefile.pl: fixup when PKG_SOURCE is defined elsewhere

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(backported from eb6759cc786b9a5fe1425364fc54212a425ff0be)
---

diff --git a/scripts/fixup-makefile.pl b/scripts/fixup-makefile.pl
index 9026ddcce4..b6f1c74738 100755
--- a/scripts/fixup-makefile.pl
+++ b/scripts/fixup-makefile.pl
@@ -26,7 +26,7 @@ sub set_var($) {
 		$state{related_var} = "URL";
 	} else {
 		$state{context} = 1;
-		$state{related_var} = "PKG_SOURCE";
+		$state{related_var} = "PKG_SOURCE_URL";
 	}
 }