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

Porting/Glossary: 'incpath' versus 'incpath' #22194

Open
jkeenan opened this issue May 3, 2024 · 2 comments
Open

Porting/Glossary: 'incpath' versus 'incpath' #22194

jkeenan opened this issue May 3, 2024 · 2 comments

Comments

@jkeenan
Copy link
Contributor

jkeenan commented May 3, 2024

In Porting/Glossary, I observe these two entries right next to each other:

incpath (usrinc.U):
    This variable must precede the normal include path to get the
    right one, as in "$incpath/usr/include" or "$incpath/usr/lib".
    Value can be "" or "/bsd43" on mips.

incpth (libpth.U):
    This variable must precede the normal include path to get the
    right one, as in "$incpath/usr/include" or "$incpath/usr/lib".
    Value can be "" or "/bsd43" on mips.

The body of the entry for incpath is identical to that for incpth, which means that the description for incpath, which twice mentions $incpath, seems internally inconsistent.

Can someone clarify what each of these things is supposed to do -- and whether the wording is accurate or not? (I'm asking because incpth was mentioned in timbunce/devel-nytprof#217.) Thanks.

@Leont
Copy link
Contributor

Leont commented May 4, 2024

I have the impression they're actually different things. I think the incpth description is correct but the incpath one isn't. I'm not sure I fully understand incpath but it seems to be some kind of prefix that was only used on BSD 4.3, probably we should just get rid of it to avoid future confusion.

@Tux
Copy link
Contributor

Tux commented May 13, 2024

incpth is backported from a patch in Jan 2014. incpath is originated in the original meta/dist repository from a change by Manfredi in November 2010 and never touched by perl-people.

I am aware that this does only add to the confusion. It would require serious digging into the history of the two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants