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
F152508382: D14068.id38517.diff
Wed, Apr 15, 10:03 AM
Unknown Object (File)
Mon, Apr 6, 8:03 AM
Unknown Object (File)
Sun, Apr 5, 7:53 AM
Unknown Object (File)
Sun, Apr 5, 7:53 AM
Unknown Object (File)
Sat, Apr 4, 11:51 AM
Unknown Object (File)
Fri, Apr 3, 9:46 PM
Unknown Object (File)
Fri, Apr 3, 4:37 AM
Unknown Object (File)
Thu, Mar 19, 4:23 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.