#36954: Proposed fixes and improvements for dovecot2 port -----------------------+----------------------- Reporter: dave@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: dovecot2 | -----------------------+----------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: It looks like r120443 includes Dave's patches 0001, 0002 and 0004, but not 0003. I've attached a new patch which makes the following changes, obsoleting 0003: * add explicit `--without-*` configure args for features not enabled, to prevent opportunistic enabling * append to cppflags instead of overwriting it, since the default contains `-I${prefix}/include`, thereby eliminating the need to manually add it back in in the lucene and libstemmer variants * remove commands appending `-L${prefix}/lib` to ldflags in lucene and libstemmer variants since that's already in the ldflags by default * remove command appending `-I/opt/local/lib` to cppflags in lucene variant because that directory doesn't contain any include files * remove version conditional around lucene variant which always evaluated to true * libstemmer support requires lucene support; indicate this in the variant requirements * fixed incorrect configure flag for enabling libstemmer support * changed libstemmer dependency from lib to build because libstemmer only provides a static library, not a dynamic one * a few minor whitespace edits for consistency -- Ticket URL: <https://trac.macports.org/ticket/36954#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X