Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 12:13:00 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Anatoly Borodin <anatoly.borodin@gmail.com>
Cc:        Boris Samorodov <bsam@ipt.ru>, freebsd-ports@freebsd.org
Subject:   Re: PLIST=pkg-plist
Message-ID:  <20080319121300.er09chbiwwck40c8@webmail.leidinger.net>
In-Reply-To: <e1e1b0290803190304k1f8a6026hef8465771e8e6d5e@mail.gmail.com>
References:  <e1e1b0290803180909q64f46eadwe3b8ecdb17f1afb6@mail.gmail.com> <53437470@ipt.ru> <20080319081120.j50stppocgs84sos@webmail.leidinger.net> <e1e1b0290803190034w173ca72cj9aa42b42749fabf@mail.gmail.com> <20080319085754.qe1zmbtj0gs4gows@webmail.leidinger.net> <e1e1b0290803190304k1f8a6026hef8465771e8e6d5e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Anatoly Borodin <anatoly.borodin@gmail.com> (from Wed, 19 Mar =20
2008 12:04:08 +0200):

> Hi!
>
> On Wed, Mar 19, 2008 at 9:57 AM, Alexander Leidinger
> <Alexander@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@gmail.com:/usr/obj/usr/src/sys/GENERIC  i386
> FORCE_PKG_REGISTER=3Dyes

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

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

Strange. I don't see anything here which is causing this. I can not =20
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/=3D/%%!/} =20
${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 =20
line with "PLIST TEST" (and the line which follows).

Bye,
Alexander.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080319121300.er09chbiwwck40c8>