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
Unknown Object (File)
Feb 21 2024, 4:54 PM
Unknown Object (File)
Dec 20 2023, 4:38 AM
Unknown Object (File)
Nov 30 2023, 2:44 PM
Unknown Object (File)
Nov 30 2023, 2:44 PM
Unknown Object (File)
Nov 30 2023, 2:44 PM
Unknown Object (File)
Nov 30 2023, 2:30 PM
Unknown Object (File)
Aug 1 2023, 2:46 AM
Unknown Object (File)
Aug 1 2023, 2:46 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
Lint Not Applicable
Unit
Tests Not Applicable

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.