Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931597 - dev-libs/stb-20240201-r1 does not produce pkgconfig with custom EPREFIX
Summary: dev-libs/stb-20240201-r1 does not produce pkgconfig with custom EPREFIX
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 17:13 UTC by Bigos
Modified: 2024-05-09 10:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The modified ebuild file (stb-20240201-r1.ebuild,974 bytes, text/plain)
2024-05-08 17:13 UTC, Bigos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bigos 2024-05-08 17:13:14 UTC
Hello.

The custom install command introduced in bug 876034 does not work correctly when EPREFIX is non-empty. This is the case for me as I am trying to install the package using Gentoo/Prefix.

I have fixed that locally by prepending "/usr" with ${EPREFIX} on two lines (I am not sure about the `insinto` line):

-cat > "${D}"/usr/share/pkgconfig/stb.pc <<-EOF
+cat > "${D}/${EPREFIX}"/usr/share/pkgconfig/stb.pc <<-EOF
-prefix=/usr
+prefix=${EPREFIX}/usr

Reproducible: Always
Comment 1 Bigos 2024-05-08 17:13:52 UTC
Created attachment 892538 [details]
The modified ebuild file