[Bug 214219] mail/procmail: Fix autoconf and assure /usr/local/bin in default PATH

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 4 16:44:53 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214219

            Bug ID: 214219
           Summary: mail/procmail: Fix autoconf and assure /usr/local/bin
                    in default PATH
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: ag-freebsd at muc.de
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Created attachment 176632
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176632&action=edit
metadata patch file

When building mail/procmail under a pristine build environment (e.g. with
ports-mgmt/synth), the autoconf configuration system of procmail does not
insert /usr/local/bin into the default PATH, because there is no /usr/local/bin
at the time when the port is configured and built.

However, $PREFIX/bin should be part of the default path, so that a .procmailrc
containing other procmail binaries (such as formail) will work and find these,
without explicit need of either using an absolute path, or setting the PATH
variable.

The patch assures that $PREFIX/bin is part of the default PATH in procmail,
even if there is no /usr/local/bin directory detected during build-time.

Also see: 
https://github.com/jrmarino/synth/issues/63

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list