[Bug 257431] textproc/lowdown: Does not fully respect LOCALBASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 09:04:49 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257431

            Bug ID: 257431
           Summary: textproc/lowdown: Does not fully respect LOCALBASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt_at_FreeBSD.org
          Reporter: john_at_jmarshall.id.au
          Assignee: bapt_at_FreeBSD.org
             Flags: maintainer-feedback?(bapt_at_FreeBSD.org)
                CC:

Created attachment 226709
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226709&action=edit
Patch port Makefile to pass PREFIX to configure script

The lowdown configure script sets PREFIX="/usr/local" which forces some of the
files to be staged to ${STAGEDIR}/usr/local instead of ${STAGEDIR}${LOCALBASE},
resulting in the port install target not finding those files.

The attached patch adds CONFIGURE_ARGS+= PREFIX=${PREFIX} to the port's
Makefile to force the desired ${STAGEDIR}${LOCALBASE} destination for all of
the port's files. Also add blank line to keep BUILD_DEPENDS separate for
portlint(1).

Maybe this is not the canonical way to fix this (do we need to 'patch' the
configure script instead?) but "it works for me" and it's a simple solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 26 2021 - 09:04:49 UTC

Original text of this message