building custom gdal/grass modules

Chris Pickel sfiera at macports.org
Tue Aug 21 12:47:58 PDT 2007


On 21 Aug, 2007, at 15:27, Jeff Stubbs wrote:
> Ahhh, that would solve the problem. Would MP then update the  
> receipt file, to indicate that the file is downloaded??

It's not handled by receipts. If you were to use `port -d` to see  
debug information, you'd see that port always checks for a distfile's  
existence before downloading it. So, just drop the file in (with the  
right name) and you're good to go.

> Another question: From the grass dev list, they seem to be moving  
> most/all math functions to BLAS/LAPACK. Is there any problem within  
> Macports to linking to the Apple supplied accelerate framework?  
> I've seen other dependencies that rely on stuff in /usr/bin, ....etc.

Yes, that's fine. I don't know anything about the particular library,  
but if it's not something everyone would have, it would be nice to  
confine its use to "platform darwin", test for its existence in pre- 
configure and, if it's not available, `return -code error "You don't  
have libblas"` (or a more detailed message).

Of course, that's only necessary if/when you release the portfile for  
general use, and from the downloads situation it sounds like that's  
not the case yet.


Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070821/16652206/PGP.bin


More information about the macports-users mailing list