Summary: | mail/mairix: fix prefix != /usr/local | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Hein <jcfyecrayz> | ||||
Component: | Individual Port(s) | Assignee: | Koichiro Iwao <meta> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | jjuanino, meta | ||||
Priority: | --- | Flags: | jjuanino:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Hi, thanks for reporting this bug. Please, commit this patch. A commit references this bug: Author: meta Date: Tue Mar 5 02:16:38 UTC 2019 New revision: 494671 URL: https://svnweb.freebsd.org/changeset/ports/494671 Log: mail/mairix: Fix build with non-default prefix PR: 236172 Submitted by: John Hein <jcfyecrayz@liamekaens.com> Approved by: jjuanino@gmail.com (maintainer) MFH: 2019Q1 Changes: head/mail/mairix/Makefile A commit references this bug: Author: meta Date: Tue Mar 5 04:06:00 UTC 2019 New revision: 494675 URL: https://svnweb.freebsd.org/changeset/ports/494675 Log: MFH: r494671 mail/mairix: Fix build with non-default prefix PR: 236172 Submitted by: John Hein <jcfyecrayz@liamekaens.com> Approved by: jjuanino@gmail.com (maintainer) Approved by: portmgr (miwi) Changes: _U branches/2019Q1/ branches/2019Q1/mail/mairix/Makefile Committed to both head and quarterly, thanks! |
Created attachment 202515 [details] [patch] fix non-default PREFIX Building mail/mairix with a non-default PREFIX fails (or if LOCALBASE != /usr/local): % make PREFIX=/foo stage . . ===> Staging for mairix-0.24 . . ===> Generating temporary packing list . . strip: open /usr/ports/mail/mairix/work/stage/foo/bin/mairix failed: No such file or directory *** Error code 1 The attached patch fixes that by passing --prefix=${PREFIX} to configure. While here, appease portlint by reordering the HAS_CONFIGURE line in a different section. QA: poudriere - ok portlint - ok