PLIST=pkg-plist

Alexander Leidinger Alexander at Leidinger.net
Wed Mar 19 07:12:17 UTC 2008


Quoting Boris Samorodov <bsam at ipt.ru> (from Tue, 18 Mar 2008 23:06:57 +0300):

> On Tue, 18 Mar 2008 18:09:36 +0200 Anatoly Borodin wrote:
>
>> > grep -r 'PLIST[[:space:]]*=[[:space:]]*pkg-plist' --include   
>> "Makefile*" /usr/ports
>> /usr/ports/audio/linux-esound/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/audio/linux-libaudiofile/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/devel/linux-libglade/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/devel/linux-libglade2/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/emulators/linux_base-f7/Makefile:PLIST=
>>  pkg-plist
>> /usr/ports/emulators/linux_base-fc4/Makefile:PLIST=
>>  pkg-plist
>> /usr/ports/emulators/linux_base-fc6/Makefile:PLIST=
>>  pkg-plist
>> /usr/ports/games/qix/Makefile:PLIST=            pkg-plist.x11
>> /usr/ports/graphics/linux-imlib/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/graphics/linux-tiff/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/graphics/linux-ungif/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/security/ossec-hids-client/Makefile:PLIST=   pkg-plist.client
>> /usr/ports/textproc/linux-libxml/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/textproc/linux-libxml2/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/x11-toolkits/linux-gtk/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>> /usr/ports/x11-toolkits/linux-qt33/Makefile:PLIST=
>> pkg-plist.${LINUX_RPM_ARCH}
>
>> It works without /usr/obj while the 'work' dir is in the port's dir,
>> but doesn't work with /usr/obj (e.g.
>> /var/db/pkg/linux_base-fc-4_10/+CONTENTS contains only conflicts and
>> no file references.
>
>> IMHO it should be changed to 'PLIST=${WRKDIR}/pkg-list.*' or
>> 'PLIST=${PKGDIR}/pkg-plist.*' or removed at all (depending on the
>> semantics).
>
>> Does it look reasonable?
>
> Yes, 'PLIST=${PKGDIR}/pkg-plist.*' is good imo. Can you submit a PR?
>
> Alexander (CCed), what do you think?

I can not confirm this. On my desktop I have the following in make.conf:
---snip---
WRKDIRPREFIX=           /var/ports
DISTDIR=                /var/ports/distfiles
PACKAGES=               /var/ports/packages/${CC:C/.*\///g}/${CPUTYPE}
INDEXDIR=               /var/ports
---snip---
but all my +CONTENTS are ok (checked with fc4 and linux-tiff).

Anatoly, would you please give a detailed description which setup  
shows the behavior you are seeing? I would like to be able to  
reproduce this.

Bye,
Alexander.

-- 
In California they don't throw their garbage away -- they make
it into television shows.
		-- Woody Allen, "Annie Hall"

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-ports mailing list