[Bug 236172] mail/mairix: fix prefix != /usr/local

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 3 03:49:31 UTC 2019


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

            Bug ID: 236172
           Summary: mail/mairix: fix prefix != /usr/local
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
                CC: jjuanino at gmail.com
             Flags: maintainer-feedback?(jjuanino at gmail.com)
                CC: jjuanino at gmail.com

Created attachment 202515
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202515&action=edit
[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

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


More information about the freebsd-ports-bugs mailing list