svn commit: r491989 - in head/irc/znc: . files

Joseph Mingrone jrm at FreeBSD.org
Sun Feb 3 16:20:49 UTC 2019


"Danilo G. Baio" <dbaio at FreeBSD.org> writes:

> On Sat, Feb 02, 2019 at 10:32:37PM -0400, Joseph Mingrone wrote:

>> Is USES=cmake:run really necessary (instead of USES=cmake)?

>> Joseph


> Hi Joseph.

> Currently, yes, because of znc-buildmod[1], it requires now Python and CMake.

> But I'm open to suggestions.

> Maybe a znc-buildmod port, this way only users that need to build their own
> modules need to have Python and CMake installed on their machines.

> 1 - https://github.com/znc/znc/blob/znc-1.7.2/znc-buildmod.cmake.in

> Regards.

I like the idea of a new irc/znc-buildmod port that simply adds the
cmake run-time dependency. This would be like a pseudo-subpackage. It
might be a little strange to create a package that just pulls in a
dependency, but it would be simplest to continue to install
${PREFIX}/bin/znc-buildmod with irc/znc.

We could actually do the same for the perl and python options as
well. We would get a lean znc package and users who want buildmod, perl,
and python module support would just have do a `pkg install` rather than
mess with knobs and build their own packages.

Of course, a simple alternative (for porters, but not users) is to just
add a BUILDMOD knob to irc/znc that adds the cmake run-time dependency.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 962 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190203/79d42d8f/attachment.sig>


More information about the svn-ports-all mailing list