Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 10:30:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251142] Mk/Scripts/qa.sh: Does not always warn about missing USES (in place of {LIB,BUILD,RUN}_DEPENDS)
Message-ID:  <bug-251142-7788-O9ZlZRhy5O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251142-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251142-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251142

--- Comment #6 from Mathieu Arnold <mat@FreeBSD.org> ---
Mmmm, sorry, mismatched problems.

The proxydep thing is there to tell you if you forgot a dependency on some =
lib.

For example, your port needs libfoo that came as a dependency of the bar po=
rt
your port depends on, it builds fine because the dependency is proxied thro=
ugh
bar, the framework tells you "you need to add a dependency on libfoo", and =
if
there is a special case, which is what the suggest thing is for, instead of
telling you "add LIB_DEPENDS+=3D libfoo.so:devel/foo" it tells you "add
USES+=3Dfoo"

I=C2=A0do not think there is a check that tells you that if you have a depe=
ndency on
devel/foo it needs to be done through USES=3Dfoo and not on a LIB_DEPENDS
directly.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251142-7788-O9ZlZRhy5O>