Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 08:54:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257430] textproc/libdiff: Does not fully respect LOCALBASE
Message-ID:  <bug-257430-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257430

            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=3D226708&action=
=3Dedit
Patch port Makefile to pass PREFIX to configure script

The lbidiff configure script sets PREFIX=3D"/usr/local" which forces some o=
f the
files to be staged to ${STAGEDIR}/usr/local instead of ${STAGEDIR}${LOCALBA=
SE},
resulting in the port install target not finding those files.

The attached patch adds CONFIGURE_ARGS+=3D PREFIX=3D${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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257430-7788>