Ports defying WRKDIRPREFIX

Shaun Amott shaun at FreeBSD.org
Mon Aug 7 17:10:35 UTC 2006


On Mon, Aug 07, 2006 at 12:05:28PM +0200, [LoN]Kamikaze wrote:
> 
> Thierry Thomas wrote:
> > Le Lun  7 aoû 06 à 11:55:59 +0200, [LoN]Kamikaze <LoN_Kamikaze at gmx.de>
> >  écrivait :
> >> It has come to my attention that the line
> >>
> >> 	${CAT} pkg-message
> >>
> >> breaks when WRKDIRPREFIX is set, because the shell command will be invoked
> >> from WRKDIRPREFIX/PORTSDIR/category/port instead of PORTSDIR/category/port
> >>
> >> I think this is a new problem in bsd.port.mk, but I am not certain about
> >> this. A quick solution is to replace the line with
> >>
> >> 	${CAT} ${.CURDIR}/pkg-message
> > 
> > @${CAT} ${PKGMESSAGE}
> > should be sufficient.
> 

I've fixed deskutils/multi-backgrounds-daemon, net-im/jabber-aim and
devel/libtap, but the other unmaintained ports redefine PKGMESSAGE; so
they will need a different fix.

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.


More information about the freebsd-ports mailing list