svn commit: r410226 - in head/security/py-pynacl: . files

Kubilay Kocak koobs at FreeBSD.org
Sun Mar 6 02:25:11 UTC 2016


On 6/03/2016 1:14 PM, Wen Heping wrote:
>  
> -BUILD_DEPENDS=	${LOCALBASE}/lib/libnacl.a:${PORTSDIR}/security/nacl \
> -		${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
> -RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
> +RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi \
> +		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
> +BUILD_DEPENDS=	${RUN_DEPENDS}

This is likely incorrect, both in terms of it's assignment and that six
is not a BUILD_DEPENDS. It's better to explicitly list BUILD_DEPENDS,
even if it means duplicating some of the entries of RUN_DEPENDS

> +LIB_DEPENDS=	libsodium.so:${PORTSDIR}/security/libsodium
>  
>  USES=		python
>  USE_PYTHON=	autoplist distutils
> -NO_ARCH=	yes
> +MAKE_ENV+=	SODIUM_INSTALL=system
> +CFLAGS+=	-I ${LOCALBASE}/include
>  

Do we know what why CFLAGS is needed and why wasn't it needed before?

Also use USES=localbase instead

./koobs





More information about the svn-ports-all mailing list