[Bug 257430] textproc/libdiff: Does not fully respect LOCALBASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 08:54:27 UTC

            Bug ID: 257430
           Summary: textproc/libdiff: 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
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

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

The lbidiff 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.

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.