[Bug 296605] www/nginx-devel: chase devel/mongo-c-driver update
[email protected] Tue, 04 Aug 2026 13:04:06 +0000
| Newsgroups | gmane.os.freebsd.devel.ports.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296605 Raivo Hool <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Raivo Hool <[email protected]> --- This line is suboptimal: +MONGOC_VERSION!=3D cd ${.CURDIR}/../../devel/mongo-c-driver; make -V DISTVERSION It presupposes that the www/nginx or www/nginx-devel (etc) is running from = the same tree as devel/mongo-c-driver, and resolves the path relative to itself, but it is not necessarily the case when the port, with some modifications f= or instance, is used from an overlay that does not have devel/mongo-c-driver. I have such a use case and my ports overlay is elsewhere, and I am getting a recurring and eventually erroring out warning: [00:00:14] Warning: (www/nginx): cd: /overlays/LOCAL/www/nginx/../../devel/mongo-c-driver: No such file or direc= tory [00:00:14] Warning: (www/nginx): cd: /overlays/LOCAL/www/nginx/../../devel/mongo-c-driver: No such file or direc= tory [00:00:14] Warning: (www/nginx): cd: /overlays/LOCAL/www/nginx/../../devel/mongo-c-driver: No such file or direc= tory My proposal: in order to be tree agnostic, get rid of that line in Makefile.extmod: -MONGOC_VERSION!=3D cd ${.CURDIR}/../../devel/mongo-c-driver; make -V DISTVERSION Add the following to the Makefile itself: +MONGOC_VERSION!=3D ${MAKE} -C ${PORTSDIR}/devel/mongo-c-driver -V DISTVERSION --=20 You are receiving this mail because: You are the assignee for the bug.=