Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export PACKAGES as an environment variable breaks libbluray #57

Open
lantw44 opened this issue May 1, 2018 · 0 comments
Open

Export PACKAGES as an environment variable breaks libbluray #57

lantw44 opened this issue May 1, 2018 · 0 comments

Comments

@lantw44
Copy link

lantw44 commented May 1, 2018

When using portmaster to install the multimedia/libbluray port, the Requires.private line in libbluray.pc is broken because the configure script of libbluray appends things to PACKAGES variable and set the value of Requires.private to PACKAGES when generating libbluray.pc.

libbluray.pc installed by typing make install:

Requires.private:  libxml-2.0 freetype2 fontconfig

libbluray.pc installed by portmaster:

Requires.private: /usr/ports/packages libxml-2.0 freetype2 fontconfig

The latter one causes gvfs to fail to find libbluray because pkg-config doesn't know what /usr/ports/packages is:

$ pkg-config --cflags libbluray
Package /usr/ports/packages was not found in the pkg-config search path.
Perhaps you should add the directory containing `/usr/ports/packages.pc'
to the PKG_CONFIG_PATH environment variable
Package '/usr/ports/packages', required by 'libbluray', not found
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

No branches or pull requests

1 participant