Skip to contentSkip to conversation

package/zfs: replace PYTHON_VERSION_MAJOR

PATCH In review Fabrice Fontaine 2 participants 2 messages Feb 18, 2022 – Feb 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zfs: replace PYTHON_VERSION_MAJOR

Replace PYTHON_VERSION_MAJOR by PYTHON3_VERSION_MAJOR now that python2 has been dropped. It should be noted that PYTHON_SITE_PKG was wrongly set since the addition of the package in commit 4470bc9914d730383db86f58bc86fb09739622dc

---
 package/zfs/zfs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/zfs/zfs.mk +1 -1
index 6b542f5c05..dbda8aceb4 100644
@@ -44,7 +44,7 @@ ZFS_CONF_ENV += \
 	PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
 	PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \
 	PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" \
-	PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"
+	PYTHON_SITE_PKG="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages"
 ZFS_CONF_OPTS += --enable-pyzfs
 else
 ZFS_CONF_OPTS += --disable-pyzfs --without-python
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Replace PYTHON_VERSION_MAJOR by PYTHON3_VERSION_MAJOR now that python2 has been dropped. It should be noted that PYTHON_SITE_PKG was wrongly set since the addition of the package in commit 4470bc9914d730383db86f58bc86fb09739622dc

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot