cvs commit: ports/net/asterisk Makefile

Maxim Sobolev sobomax at portaone.com
Thu Feb 19 06:04:10 PST 2004


Stijn Hoop wrote:

> 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.
> 
> 
> This would have broken the port in my environment:
> 
> [stijn at sandcat] <~> egrep "(PORTS|WRKDIR)" /etc/make.conf
> WRKDIRPREFIX=           /local/freebsd/work
> [stijn at sandcat] <~> ls -ld /usr/ports                    
> lrwxr-xr-x  1 root  wheel  20 Feb 17 15:11 /usr/ports -> /local/freebsd/ports
> 
> Of course, one could argue that I should set PORTSDIR to /local/freebsd/ports,
> but I don't think that this is the only reason that should happen.

This is the only reason. By design of ports system, when you are moving 
ports tree around you should set PORTSDIR. Please see my recent 
corresponsence with Kris.

-Maxim



More information about the cvs-ports mailing list