Date: Fri, 24 Jun 2016 08:16:26 +0200 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: QA script error (libc++) Message-ID: <CAGwOe2ZMHbf2uCV=T9cKEKF4F8XE8XBA4wUt7H4DXB9nCOMH%2BA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
One of my ports is written in C++. It links agains libc++ that is in base (/usr/src/contrib/libc++). The port still builds fine and works but the QA scripts show an error complaining about the executable being linked to libc++ without the library being listed as an actual dependency and it suggests to add the following line to the Makefile: LIB_DEPENDS+=libc++.so:devel/libc++ Is this strictly necessary? Would something like this be acceptable?: .if !exists(/usr/lib/libc++.so) ... LIB_DEPENDS+=libc++.so:devel/libc++ ... .endif Note: the port does not compile on FreeBSD < 10.x Thanks in advance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2ZMHbf2uCV=T9cKEKF4F8XE8XBA4wUt7H4DXB9nCOMH%2BA>