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)
Nov 9 2024, 5:02 AM
Unknown Object (File)
Nov 9 2024, 5:02 AM
Unknown Object (File)
Nov 6 2024, 2:47 AM
Unknown Object (File)
Nov 6 2024, 2:39 AM
Unknown Object (File)
Oct 2 2024, 8:04 AM
Unknown Object (File)
Oct 2 2024, 2:05 AM
Unknown Object (File)
Oct 1 2024, 3:09 AM
Unknown Object (File)
Sep 23 2024, 3:28 PM
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.