svn commit: r491567 - in head/net: . py-ifaddr
Jan Beich
jbeich at FreeBSD.org
Tue Jan 29 15:05:29 UTC 2019
John Hixson <jhixson at FreeBSD.org> writes:
> +LICENSE= MIT
MIT text has many styles[1], so there's no copy under Templates/Licenses/.
Consider defining LICENSE_FILE=${WRKSRC}/LICENSE.txt
[1] https://fedoraproject.org/wiki/Licensing:MIT
> +USES= python:2.7+
python < 2.7 isn't supported in FreeBSD Ports since 2014-01-13. ;)
> +.if ${PYTHON_MAJOR_VER} < 3
> +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress
> +.endif
$ portlint -C
WARN: Makefile: "RUN_DEPENDS" has to appear earlier.
WARN: Makefile: you may want directory for dependency ${PYTHON_PKGNAMEPREFIX}ipaddress>0 to be net/py-ipaddress@${PY_FLAVOR}
0 fatal errors and 2 warnings found.
Note, to fix RUN_DEPENDS replace = with +=. Using = inside a conditional
may accidentally overwrite previous value.
More information about the svn-ports-head
mailing list