New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28738 (new enhancement)

Opened 2 years ago

Hard links fail with Macports on AFS

Reported by: kev@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: afs apple file server links makefile symlinks Cc:
Port:

Description

Hi, I'm installing Macports over AFS (Apple File System). One thing I've found while installing many of the ports is that hard links don't work on AFS while many ports use them to set locks (libtool), or link the regular executable name (python) to a specific version (python26).

So while I've been installing these I've had to modify the Makefiles by hand, changing all of the ln's to "ln -s" so the port won't fail with an error, or hang while trying to acquire a non-existent lock.

It might be worth detecting AFS in the Port system and then changing all links to symbolic in that case, considering most times there is already an $(LN) variable in the makefile.

Note: See TracTickets for help on using tickets.