Created attachment 170791 [details] patch to net/rsync/Makefile to fix option POPT_PORT handling The net/rsync port does not handle the option POPT_PORT=off correctly. The attached patch fixes this. -- Martin
You're right, the popt option logic is completely broken. However, the patch does not fix it in the right way. There are a few things wrong: - POPT_CONFIGURE_WITH should actually be POPT_PORT_CONFIGURE_WITH - The whole ^POPT block logic is reversing the logic I'm going to commit a patch shortly.
A commit references this bug: Author: ehaupt Date: Thu Jun 2 07:35:50 UTC 2016 New revision: 416270 URL: https://svnweb.freebsd.org/changeset/ports/416270 Log: Fix the logic of the POPT_PORT option. - POPT_CONFIGURE_WITH should actually be POPT_PORT_CONFIGURE_WITH - The whole ^POPT block logic is reversing the logic - Bump PORTREVISION since we have a change of dependencie PR: 209837 (based on) Submitted by: Martin Birgmeier <la5lbtyi@aon.at> MFH: 2016Q2 Changes: head/net/rsync/Makefile
I think the new fix is only valid if you reverse the description of the POPT_PORT option. If not, my fix should have been correct (the problem is that there is no POPT_PORT_CONFIGURE_WITH*OUT* option). -- Martin
One more note: if you reverse the meaning of the POPT_PORT option, preexisting options files will suddenly result in the opposite.