Skip to content

Build fixes#136

Merged
manugarg merged 2 commits intomanugarg:masterfrom
orbea:build
Feb 22, 2023
Merged

Build fixes#136
manugarg merged 2 commits intomanugarg:masterfrom
orbea:build

Conversation

@orbea
Copy link
Contributor

@orbea orbea commented May 14, 2022

These are trivial build fixes that makes it easier for distros.

  • Changes CFLAGS to MAINT_CFLAGS. This leaves CFLAGS as unset by default so that the user can freely set it either in the user's environment or as a make argument. The specific variable name MAINT_CFLAGS is not important and other suggestions as what to call it are welcome of course.
  • Adds DOC_PREFIX so that the user can specifically set the documentation directory during make install. For example distros may wish to override the pacparser directory to pacparser-1.4.0 or in Slackware documentation is installed to /usr/doc/ and not /usr/share/doc/ as in most other distributions.

orbea added 2 commits May 13, 2022 23:20
This uses the variable MAINT_CFLAGS to set the project's flags so that
the user can set CFLAGS as an environment variable or as an make
argument without any conflicts.

This can be problemtic with the build environment in some distros.
This can be useful for distro integration.
orbea added a commit to orbea/gentoo that referenced this pull request May 14, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request May 14, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request May 14, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#106
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Upstream-Commit: manugarg/pacparser@c6258eb
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request May 14, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#106
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Upstream-Commit: manugarg/pacparser@c6258eb
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request May 14, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#106
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Upstream-Commit: manugarg/pacparser@c6258eb
Signed-off-by: orbea <orbea@riseup.net>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request May 15, 2022
Bug: https://bugs.gentoo.org/793425
Upstream-PR: manugarg/pacparser#106
Upstream-PR: manugarg/pacparser#136
Upstream-PR: manugarg/pacparser#137
Upstream-Commit: manugarg/pacparser@c6258eb
Signed-off-by: orbea <orbea@riseup.net>
Closes: #25487
Signed-off-by: Sam James <sam@gentoo.org>
@orbea
Copy link
Contributor Author

orbea commented May 25, 2022

@manugarg When you have a chance can you please review this PR and #137?

@manugarg manugarg merged commit ba33fed into manugarg:master Feb 22, 2023
@manugarg
Copy link
Owner

@manugarg When you have a chance can you please review this PR and #137?

Sorry for the late merge here. We don't need #137 any more.

@orbea orbea deleted the build branch February 22, 2023 04:28
@orbea
Copy link
Contributor Author

orbea commented Feb 22, 2023

Thanks for the merge and fixes!

gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Oct 27, 2023
Note: patches dropped since they were merged upstream.
See manugarg/pacparser#136.

Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
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.

2 participants