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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 09:04:49 UTC

            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@FreeBSD.org
          Reporter: john@jmarshall.id.au
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)

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

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.