Created attachment 208470 [details] Patched Makefile The current make config options of net-im/profanity do not allow to build with OMEMO enabled. According to the original source code it can be enabled: https://profanity-im.github.io/guide/070/omemo.html. As I needed OMEMO support I did the following: 1.) I added "--enable-omemo" to CONFIGURE_ARGS of /usr/ports/net-im/profanity/Makefile 2.) As configure complained about missing libsignal I installed port net/libsignal and rebuilt profanity. With these two steps net-im/profanity could be built with OMEMO enabled. According to my tests OMEMO support works as expected. Please find the patch for the Makefile attached.
This doesn't build, see: http://13.67.229.158/data/120-amd64-swills-freebsd-ports/93369487/logs/errors/profanity-0.7.1.log
Looks like net/libsignal does not build under FreeBSD 12.0-RELEASE-p10 amd64. I have built under FreeBSD 11.3-RELEASE-p4 and net/libsignal-2.3.2. Thus OMEMO works reliably in chats and multi-user-chats.
I strongly suppose for automatically build required net/libsignal the Makefile needs an additional patch, e.g. something under LIB_DEPENDS= like: libsignal-protocol-c.so:net/libsignal Unfortunately, my knowledge of Makefiles is rather limited. The port maintainer, arved@FreeBSD.org, will know this for sure. @Steve: If net/libsignal is built manually before net-im/profanity should build under FreeBSD 12.0-RELEASE-p10 amd64 as well.
Created attachment 208980 [details] working patch patch seems to work
@Tilman: Thanks for putting the bricks together in clean Makefile patch. I suppose OMEMO will now be enabled by default and cannot be disabled by "make config". For me this totally fine.
committed my patch. Thanks for reporting
A commit references this bug: Author: arved Date: Mon Nov 11 17:30:17 UTC 2019 New revision: 517269 URL: https://svnweb.freebsd.org/changeset/ports/517269 Log: Enable OMEMO support Bump PORTREVISION PR: 241381 Reported by: pvoigt@uos.de Changes: head/net-im/profanity/Makefile