001-fix-package-rebuild.patch 717 B

12345678910111213141516171819202122
  1. --- a/Makefile.am
  2. +++ b/Makefile.am
  3. @@ -39,7 +39,7 @@
  4. if HOST_TOOL
  5. host_tool = $(host)-pkg-config$(EXEEXT)
  6. install-exec-hook:
  7. - cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
  8. + cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool)
  9. uninstall-hook:
  10. cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
  11. endif
  12. --- a/Makefile.in
  13. +++ b/Makefile.in
  14. @@ -1093,7 +1093,7 @@
  15. uninstall-man1
  16. @HOST_TOOL_TRUE@install-exec-hook:
  17. -@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
  18. +@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool)
  19. @HOST_TOOL_TRUE@uninstall-hook:
  20. @HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && rm -f $(host_tool)