Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 2023 09:12:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269990] audio/libdiscid: Fix pkg-config regression after update to 0.6.3
Message-ID:  <bug-269990-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 269990
           Summary: audio/libdiscid: Fix pkg-config regression after
                    update to 0.6.3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhale@FreeBSD.org
          Reporter: ehaupt@FreeBSD.org
             Flags: maintainer-feedback?(jhale@FreeBSD.org)
          Assignee: jhale@FreeBSD.org

Created attachment 240614
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240614&action=
=3Dedit
Fix pkg-config regression

After the update to 0.6.3 pkg-config returns:

# pkg-config --cflags libdiscid
-I=20
# pkg-config --libs libdiscid
-L -ldiscid=20

instead of:

# pkg-config --cflags libdiscid
-I/usr/local/include=20
# pkg-config --libs libdiscid
-L/usr/local/lib -ldiscid=20


As you can see in
https://github.com/metabrainz/libdiscid/compare/v0.6.2...v0.6.3

The following lines were removed in CMakeLists.txt:

SET(prefix ${CMAKE_INSTALL_PREFIX})
SET(exec_prefix ${EXEC_INSTALL_PREFIX})
SET(includedir ${INCLUDE_INSTALL_DIR})
SET(libdir ${LIB_INSTALL_DIR})

This should probably be reported upstream but meanwhile the attached patch
fixes the port.

--=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-269990-7788>