Page MenuHomeFreeBSD

Update Mk/Uses/waf.mk to specify python 2.7
ClosedPublic

Authored by jhale on Jan 27 2018, 9:57 AM.
Tags
None
Referenced Files
F144352222: D14068.id38573.diff
Sun, Feb 8, 12:14 AM
F144319193: D14068.id38517.diff
Sat, Feb 7, 8:07 PM
Unknown Object (File)
Fri, Jan 30, 11:00 PM
Unknown Object (File)
Dec 21 2025, 11:33 PM
Unknown Object (File)
Dec 16 2025, 12:36 PM
Unknown Object (File)
Dec 3 2025, 11:48 PM
Unknown Object (File)
Nov 28 2025, 6:50 PM
Unknown Object (File)
Nov 1 2025, 6:44 AM
Subscribers

Details

Summary

Mk/Uses/waf.mk currently adds python 2.7 as a build requirement with 'python_ARGS=2,build'. This is causing deprecation warnings when building ports that use waf:

/!\ aubio-0.4.6: Makefile warnings, please consider fixing /!\

USES=python:2 is deprecated, use USES=python:2.7

Change to 'python_ARGS=2.7,build' to keep waf builds from stalling.

Test Plan

I have tested the change with audio/aubio. It's a simple change; I'm not sure it requires a full exp-run.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14599
Build 14731: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 28 2018, 3:28 PM
This revision was automatically updated to reflect the committed changes.