Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 519680 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.in (-4 / +1 lines)
Lines 3082-3093 Link Here
3082
# Symlink capnpc -> capnp.  The capnp binary will behave like the old capnpc
3082
# Symlink capnpc -> capnp.  The capnp binary will behave like the old capnpc
3083
# binary (i.e. like "capnp compile") when invoked via this symlink.
3083
# binary (i.e. like "capnp compile") when invoked via this symlink.
3084
#
3084
#
3085
# Also attempt to run ldconfig, because otherwise users get confused.  If
3085
# Do not attempt to run ldconfig, that is not your job.
3086
# it fails (e.g. because the platform doesn't have it, or because the
3087
# user doesn't have root privileges), don't worry about it.
3088
install-exec-hook:
3086
install-exec-hook:
3089
	ln -sf capnp $(DESTDIR)$(bindir)/capnpc
3087
	ln -sf capnp $(DESTDIR)$(bindir)/capnpc
3090
	ldconfig < /dev/null > /dev/null 2>&1 || true
3091
3088
3092
uninstall-hook:
3089
uninstall-hook:
3093
	rm -f $(DESTDIR)$(bindir)/capnpc
3090
	rm -f $(DESTDIR)$(bindir)/capnpc

Return to bug 519680