Added support for pkg-config via pkgconfig/bzip2.pc#8200
Added support for pkg-config via pkgconfig/bzip2.pc#8200boegel merged 6 commits intoeasybuilders:developfrom furstj:20190501145109_new_pr_bzip2106
Conversation
|
@furstj Did you write the |
|
The bzip2.pc was inspired by the /usr/lib64/pkgconfig/bzip2.pc from OpenSUSE Leap 15 distribution. Nevertheless OpenSUSE uses several more complicated patches which make the package compatible with autotools and change the source . On the other hand my patch does not change the source code and just adds the bzip2.pc. The bzip2.pc file simplifies greatly compilations on OpenSUSE Leap and SLES. Without it, the compilation of e.g. fontconfig fails. |
|
@furstj In that case, we should mention (in the patch file) that it was inspired by OpenSUSE, preferably with a URL included that shows where you got it from. No need to pull in the other parts if they're not really needed. |
|
I made a notice in the patch file mentioning the original work of S. Brabec from SUSE. |
|
@furstj You'll need to fix the checksum accordingly... Do you mind making this same change (adding the patch file) to all |
|
Sorry, I forgot to update the checksums. I will make also the same change to all bzip2 easyconfigs (both for GCCcore and Intel toolchains) in a moment. |
|
@furstj If you do more than just the |
|
Ok :). Should I put it in this PR via update-pr or should I make a new PR? |
|
@furstj Updating this PR is fine, no need to open a new one. |
|
Ok, the mega update is on the way ... |
|
Can remember... do we autoadd PKG_CONFIG_PATH for simple stuff like this or do the bzip easyconfigs need it added manually? |
|
I don't know. Anyway, the patch works fine on SuSE. The module generated for bzip2 automatically sets the PKG_CONFIG_PATH to /opt/easybuild/software/bzip2/1.0.6-GCCcore-8.2.0/lib/pkgconfig |
|
@furstj You overlooked |
|
@akesandgren Updating |
|
Ops, I forgot to include the bzip2-1.0.6.eb in --update-pr. It is included now. |
|
Test report by @boegel |
|
Going in, thanks @furstj! |
(created using
eb --new-pr)