Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2016 16:44:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214219] mail/procmail: Fix autoconf and assure /usr/local/bin in default PATH
Message-ID:  <bug-214219-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214219

            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@FreeBSD.org
          Reporter: ag-freebsd@muc.de
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 176632
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176632&action=
=3Dedit
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 .procmai=
lrc
containing other procmail binaries (such as formail) will work and find the=
se,
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:=20
https://github.com/jrmarino/synth/issues/63

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214219-13>