Bug 251829 - Mk/bsd.port.mk: .info files install to GNU_CONFIGURE_PREFIX, but packaged from PREFIX
Summary: Mk/bsd.port.mk: .info files install to GNU_CONFIGURE_PREFIX, but packaged fro...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 01:23 UTC by Damjan Jovanovic
Modified: 2022-09-07 16:26 UTC (History)
3 users (show)

See Also:
linimon: maintainer-feedback? (portmgr)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damjan Jovanovic 2020-12-14 01:23:56 UTC
When GNU_CONFIGURE_PREFIX and PREFIX differ, .info files are installed to GNU_CONFIGURE_PREFIX:

            _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \

yet packaged from PREFIX instead:

add-plist-info:
.for i in ${INFO}
        @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST}
.endfor

This will not work, no matter what the value of INFO_PATH is. Neither can a custom --infordir be set for LATE_CONFIGURE_ARGS.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-09-07 16:26:41 UTC
Moin moin 

Do you have a port where this is an issue, and is it still relevant?


mfg Tobias