[MacPorts] #44909: fswatch @1.4.3 update
MacPorts
noreply at macports.org
Mon Sep 8 11:04:14 PDT 2014
#44909: fswatch @1.4.3 update
------------------------------------+---------------------------------
Reporter: enrico.m.crisostomo@… | Owner: ryandesign@…
Type: update | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: fixed | Keywords: haspatch maintainer
Port: fswatch |
------------------------------------+---------------------------------
Comment (by larryv@…):
Replying to [comment:7 enrico.m.crisostomo@…]:
> I was checking the Automake literature and funnily enough, page 131 of
> the latest Automake manual agrees literally with the original sources:
>
> {{{
> For instance, here is how to create a hard link to an installed program:
> install-exec-hook:
> ln $(DESTDIR)$(bindir)/program$(EXEEXT) \
> $(DESTDIR)$(bindir)/proglink$(EXEEXT)
> }}}
>
> If the link is broken after the package is built and moved into place,
> I really don't know why, and I'm inclined to think it's a MacPorts
> peculiarity, if not quirk. And since I'm no MacPorts experts, I'm
> asking for help here.
This is understandably confusing. Note that the bit that you quoted from
the Automake manual is for making a //hard link//, not a //symbolic
link//. A hard link does not break if the target is moved, but a symbolic
one does. Indeed, the example //must// use the `DESTDIR`’d source because
the final source file //does not exist// when the `install-exec-hook`
target is run.
--
Ticket URL: <https://trac.macports.org/ticket/44909#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list