PLIST=pkg-plist

Alexander Leidinger Alexander at Leidinger.net
Wed Mar 19 11:14:05 UTC 2008


Quoting Anatoly Borodin <anatoly.borodin at gmail.com> (from Wed, 19 Mar  
2008 12:04:08 +0200):

> Hi!
>
> On Wed, Mar 19, 2008 at 9:57 AM, Alexander Leidinger
> <Alexander at leidinger.net> wrote:
>>  I have /usr/obj, but it is not used during the ports build process if
>>  you don't tell that it shall be used. Above I tell my ports to use
>>  /var/ports/usr/ports/<category>/<portname>/... for the work dir of the
>>  port (WRKDIRPREFIX). I do this because my /usr/ports is read-only. And
>>  with this I don't see any breakage like you describe. So you seem to
>>  have some setting somewhere which causes this problem. I would like to
>>  know which setting this is to be able to reproduce your problem.
>
> # uname -a; cat /etc/make.conf
>
> FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 17
> 15:09:39 EET 2008
> anatoly.borodin at gmail.com:/usr/obj/usr/src/sys/GENERIC  i386
> FORCE_PKG_REGISTER=yes

Uhm... that's not a good idea, but should not be responsible for the  
problem you see.

> WRKDIRPREFIX=/usr/obj
> PACKAGES=/var/ports/packages
> DISTDIR=/var/ports/distfiles
[...]

Strange. I don't see anything here which is causing this. I can not  
reproduce it. How do you install the port?
   cd /usr/ports/graphics/linux-tiff
   make install
   make clean
is what I would expect.

In bsd.port.mk there's
---snip---
@if [ -f ${PLIST} ]; then \
                 ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}  
${PLIST} >> ${TMPPLIST}; \
         fi
---snip---

Please add the following line between the @if and ${SED} line:
---snip---
                 echo PLIST TEST ${.CURDIR}; pwd; \
---snip---

Then reinstall a port which exhibits the behavior and search for the  
line with "PLIST TEST" (and the line which follows).

Bye,
Alexander.

-- 
Do, or do not; there is no try.

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