tech-pkg archive

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

Re: Do not uncompress a distfile

22.05.2021 00:31:52 Brook Milligan <>:
>> On May 21, 2021, at 4:15 PM, Roland Illig <> wrote:
>> What about this brute force approach?
>> do-extract:
>>         cp ${DISTFILES:%=${_DISTDIR}/%} ${WRKDIR}/
>> Accessing the internal _DISTDIR is not elegant, but if this approach works, we can think of a more elegant variant afterwards.
> That does work.  Thanks. 
> I agree that it would be nice to be able to specify this without groveling in the internal variables.  What is the best way to accomplish that?

Since this package does not depend on DIST_SUBDIR, _DISTDIR is the same as DISTDIR.

In general, ${DISTDIR}/${DIST_SUBDIR} would be the correct replacement, just as in the definition in mk/fetch/ line 50.

Home | Main Index | Thread Index | Old Index