Ticket #8852 (closed Patch: fixed)

Opened 13 months ago

Last modified 7 months ago

missing fzputtygen when creating FileZilla.app bundle on Mac OS X

Reported by: mojca Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Operating system type: OS X Operating system version:

Description

Building FileZilla on Mac OS X fails with fzputtygen: No such file or directory because of the wrong building order:

cp -f fzsftp ../../FileZilla.app/Contents/MacOS/fzsftp
cp -f fzputtygen ../../FileZilla.app/Contents/MacOS/fzputtygen
cp: fzputtygen: No such file or directory
make[3]: *** [../../FileZilla.app/Contents/MacOS/fzsftp] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/clang -pipe -Os -arch x86_64 -Wall -g -fexceptions -Wl,-headerpad_max_install_names -arch x86_64 -o fzputtygen fzputtygen-cmdgen.o fzputtygen-import.o fzputtygen-notiming.o fzputtygen-tree234.o  -L/opt/local/lib unix/libfzputtycommon_ux.a libfzputtycommon.a

The following trivial patch for version 3.7.3 should probably fix it:

--- a/src/putty/Makefile.am
+++ b/src/putty/Makefile.am
@@ -81,7 +81,7 @@ if MACAPPBUNDLE
 noinst_DATA = $(top_builddir)/FileZilla.app/Contents/MacOS/fzsftp$(EXEEXT)
 endif
  
-$(top_builddir)/FileZilla.app/Contents/MacOS/fzsftp$(EXEEXT): fzsftp
+$(top_builddir)/FileZilla.app/Contents/MacOS/fzsftp$(EXEEXT): fzsftp fzputtygen
 	mkdir -p $(top_builddir)/FileZilla.app/Contents/MacOS
 	cp -f fzsftp $(top_builddir)/FileZilla.app/Contents/MacOS/fzsftp
 	cp -f fzputtygen $(top_builddir)/FileZilla.app/Contents/MacOS/fzputtygen

Attachments

patch-src-putty-Makefile.am.diff Download (0.6 KB) - added by mojca 13 months ago.
A patch to build fzputtygen before FileZilla.app bundle

Change History

Changed 13 months ago by mojca

A patch to build fzputtygen before FileZilla.app bundle

Changed 13 months ago by mojca

  • type changed from Bug report to Patch

Changed 7 months ago by codesquid

  • status changed from new to closed
  • resolution set to fixed

Thanks.

Changed 7 months ago by mojca

Thanks a lot for the fix. Is there any chance to fix compatibility with wxWidgets 3.0 as well? #8272

Note: See TracTickets for help on using tickets.