pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44698: Alternative PKGFILE [patch]
The following reply was made to PR pkg/44698; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44698: Alternative PKGFILE [patch]
Date: Fri, 18 Mar 2011 14:31:44 +0200
>> Index: mk/flavor/pkg/package.mk
>> ===================================================================
>> RCS file: /cvsroot/pkgsrc/mk/flavor/pkg/package.mk,v
>> retrieving revision 1.20
>> diff -u -r1.20 package.mk
>> --- mk/flavor/pkg/package.mk 9 Feb 2010 23:02:13 -0000 1.20
>> +++ mk/flavor/pkg/package.mk 8 Mar 2011 12:01:01 -0000
>> @@ -11,7 +11,8 @@
>> . endif
>> .endif
>> PKG_SUFX?= .tgz
>> -PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
>> +FILEBASE?= ${PKGBASE}
>> +PKGFILE?= ${PKGREPOSITORY}/${FILEBASE}-${PKGVERSION}${PKG_SUFX}
>> PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR}
>> PKGREPOSITORYSUBDIR?= All
>>
>>
>
> Shouldn't the "tarup-pkg" target be changed as well?
Yes, target tarup-pkg needs to be modifed too to accept value of
FILEBASE. I overlooked it. For this to work pkg_tarup command needs to
be modified too (e.g., new option -f <filebase>)
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index