svn commit: r422061 - in head/comms/uhd: . files

Mathieu Arnold mat at FreeBSD.org
Tue Sep 13 20:49:11 UTC 2016


Le 13/09/2016 à 20:58, Michael Reifenberger a écrit :
> +EXTRACT_ONLY=	${DISTFILES}

That is not needed, it is the default.

> +GH_TAGNAME=     ${UHD_COMMIT}
> +
> +UHD_COMMIT=	32951af2f3e7b1ddb56486c9f15b2e1033605bd6

I'm not sure using a second variable only once is needed.

> +COMPILER_FEATURES=	libc++

That variable is *read-only*, writing to it makes no sense.

> +MAKE_JOBS_UNSAFE=	yes

When adding MAKE_JOBS_UNSAFE, you have to say why it does not build with
make -j.

> +DOCSDIR=	share/doc/uhd

This is the default and not needed.

> +.if ${OSVERSION} < 800000
> +IGNORE=	needs libusb 1.0
> +.endif

Adding that OSVERSION check makes no sense, no release before 9 will
work with the current ports tree.

> +.if ${PORT_OPTIONS:MDOCS}
> +BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
> +CMAKE_ARGS+=	-DENABLE_DOXYGEN:STRING="ON"
> +HAVEDOCS=	YES
> +.endif

Do not add doxygen as a dependency with a DOCS option, use a DOXYGEN one.

> +-    DESTINATION ${LIBRARY_DIR}/pkgconfig
> ++    DESTINATION libdata/pkgconfig

This is handled by USES=pathfix.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160913/19515ced/attachment.sig>


More information about the svn-ports-all mailing list