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

asciidoc: Fix documentation install directory #17933

Merged
merged 1 commit into from Mar 11, 2023

Conversation

neverpanic
Copy link
Member

@neverpanic neverpanic commented Mar 11, 2023

Description

The default for docdir is ${datarootdir}/doc/${PACKAGE_TARNAME}, and while these have the values we expect them to have in the configure script, this variable is left unexpanded and ${PACKAGE_TARNAME} is not defined in the Makefile after Makefile generation, ends up empty, and the documentation is installed in ${datarootdir}/doc. This is clearly a bug, but I'm not sure whether it is in autoconf or asciidoc.

Closes: https://trac.macports.org/ticket/67081

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 12.6.3 21G419 arm64
Xcode 14.2 14C18

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

The default for docdir is ${datarootdir}/doc/${PACKAGE_TARNAME}, and
while these have the values we expect them to have in the configure
script, this variable is left unexpanded and ${PACKAGE_TARNAME} is not
defined in the Makefile after Makefile generation, ends up empty, and
the documentation is installed in ${datarootdir}/doc. This is clearly
a bug, but I'm not sure whether it is in autoconf or asciidoc.

Closes: https://trac.macports.org/ticket/67081
@macportsbot macportsbot added type: bugfix maintainer maintainer: open Affects an openmaintainer port by: member Created by a member with commit rights labels Mar 11, 2023
@neverpanic neverpanic merged commit abccbbb into macports:master Mar 11, 2023
@neverpanic neverpanic deleted the cal-asciidoc-ticket67081 branch March 11, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by: member Created by a member with commit rights maintainer: open Affects an openmaintainer port maintainer type: bugfix
2 participants