[Pkg-samba-maint] [Git][samba-team/samba][master] d/rules: fix my "optimization" to architecture.mk to stop it from expanding vars on each use

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Tue Apr 12 09:28:04 BST 2022



Michael Tokarev pushed to branch master at Debian Samba Team / samba


Commits:
4a039a9e by Michael Tokarev at 2022-04-12T09:55:54+03:00
d/rules: fix my "optimization" to architecture.mk to stop it from expanding vars on each use

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -8,7 +8,7 @@ include /usr/share/dpkg/pkg-info.mk
 include /usr/share/dpkg/vendor.mk
 # faster version of dpkg/architecture.mk defining only vars we actually need
 $(foreach var,DEB_HOST_ARCH DEB_HOST_ARCH_OS DEB_HOST_MULTIARCH,\
-	$(eval export ${var} ?= $$(shell dpkg-architecture -q${var})))
+	$(eval export ${var} ?= $$(call dpkg_late_eval,${var},dpkg-architecture -q${var})))
 
 export PYTHON = python3
 



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/commit/4a039a9ef0174beffc22923f26403ea39a756af7

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/commit/4a039a9ef0174beffc22923f26403ea39a756af7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220412/1d73fd22/attachment.htm>


More information about the Pkg-samba-maint mailing list