Skip to content

Conversation

@revmischa
Copy link
Member

The install script for the pkgconfig file was writing directly to CMAKE_INSTALL_PREFIX without respecting DESTDIR. This broke staged installs used by package managers (dpkg-buildpackage, rpmbuild, etc).

Found while preparing Debian packaging for projectm-eval.

The install script for the pkgconfig file was writing directly to
CMAKE_INSTALL_PREFIX without respecting DESTDIR. This broke staged
installs used by package managers (dpkg-buildpackage, rpmbuild, etc).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the pkgconfig file installation to properly respect the DESTDIR environment variable, which is essential for staged installs used by package managers like dpkg-buildpackage and rpmbuild.

Key changes:

  • Modified the pkgconfig install script to prepend DESTDIR to the installation path
  • Added directory creation before file installation to ensure the target directory exists

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@revmischa revmischa requested a review from kblaschke January 9, 2026 06:10
@revmischa revmischa merged commit 4ed573c into master Jan 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant