[Bug 262616] audio/carla: does not fully respect LOCALBASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Mar 2022 12:09:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262616

            Bug ID: 262616
           Summary: audio/carla: does not fully respect LOCALBASE
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: large.hadron.collider@gmx.com
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 232512
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232512&action=edit
patch -p1 format - Difference between upstream audio/carla/Makefile and my copy

audio/carla does not appear to use a configure script. Instead, it directly
invokes GNU Make. On my system, I have LOCALBASE set other than the default of
/usr/local, meaning that this port, which had PREFIX := /usr/local set in its
Makefile (rendering this patch unnecessary when LOCALBASE is the default of
/usr/local), did not install correctly because the files which something in the
system was looking for were under $DESTDIR/usr/local, not $DESTDIR$LOCALBASE.
Some documentation in the source tree of audio/carla says that distributions
can override this by adding PREFIX=theirlocalbase to gmake's invocation. I
attach a diff which I've implemented on my local ports tree which heeds that
advice and appears to make audio/carla build and install correctly on my
system.

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