tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/nodejs12/buildlink3.mk typo



On 25.05.2021 22:32, Brook Milligan wrote:
I’m pretty sure there is a typo in lang/nodejs12/buildlink3.mk.  Am I missing something?

RCS file: /cvsroot/pkgsrc/lang/nodejs12/buildlink3.mk,v
-BUILDLINK_PKGSRCDIR.nodejs?=	../../lang/nodejs
+BUILDLINK_PKGSRCDIR.nodejs?=	../../lang/nodejs12

Yes, it's a typo, and pkglint agrees with you.  Phew, for a moment I
thought I had forgotten to implement this obvious check in pkglint, but
here it is:

$ pkglint lang/nodejs12
ERROR: lang/nodejs12/buildlink3.mk:10: BUILDLINK_PKGSRCDIR.nodejs must
be set to the package's own path (../../lang/nodejs12), not
../../lang/nodejs.

This typo appears 11 times in pkgsrc-main, and about 70 times in pkgsrc-wip.

Roland


Home | Main Index | Thread Index | Old Index