cvs commit: ports/net/asterisk Makefile

Kris Kennaway kris at obsecurity.org
Thu Feb 19 03:29:34 PST 2004


On Thu, Feb 19, 2004 at 03:22:39AM -0800, Maxim Sobolev wrote:
> sobomax     2004/02/19 03:22:39 PST
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     net/asterisk         Makefile 
>   Log:
>   Replace '${WRKDIRPREFIX}${PORTSDIR}/' with '${WRKDIR}/../../../' when
>   reffering other ports, since the former for some reason doesn't work
>   in bento environment (it works here just fine even with WRKDIRPREFIX
>   set).
>   
>   BTW, this is good evidence which shows that breakage on bento isn't
>   sufficient to mark port as BROKEN.

It exposed your incorrect assumption and made you fix it, didn't it?
;-)

You were bitten by the fact that bento (deliberately) builds ports in
/a/ports, with /usr/ports a symlink to this directory.  In other
words, in legitimate environments, ${PORTSDIR} may not be equal to
${.CURDIR} even though both reference the same directory.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040219/abf2a2c6/attachment.bin


More information about the cvs-all mailing list