Ticket #11616 (closed update: fixed)
UPDATE: lftp-3.5.6 -> 3.5.9 (with major overhaul of Portfile)
| Reported by: | yunzheng.hu@… | Owned by: | yeled@… |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 1.3.2 |
| Keywords: | lftp gnutls openssl tls ssl nls | Cc: | yunzheng.hu@… |
| Port: |
Description
I updated the lftp Portfile to 3.5.9 (latest)
changes to the Portfile worth noting:
- removed unnecessary reinplaces for:
- poll fix (this is not needed anymore as this is fixed with a Mac OS X Update long time ago)
- libtool fix (not sure why this was needed, now compiles fine without it)
- getopt fix (not sure why this was needed, now compiles fine without it)
- srandom fix (now compiles fine without it)
- added '+nls' (native language) variant
- changes to CPPFLAGS:
- REMOVED: -DBIND_8_COMPAT (compiles/runs fine without it)
- REMOVED: -no-cpp-precomp (compiles/runs fine without it)
- REMOVED: -Wno-long-double (compiles/runs fine without it)
- ADDED: -I${prefix}/include
- changes to LDFLAGS:
- REMOVED: -Wl,-search_paths_first (compiles/runs fine without it)
- ADDED: -L${prefix}/lib
- removed the --with-pic, --disable-share, --enable-static, --with-included-readline from configure flags.
- now links against readline from ports itself (not the system libraries)
- now links against ncurses (by checking for ncurses first, then curses)
- now tls conflicts with ssl
- when installing with +nls the port:gettext dependency gets added, else it is not a dependency
- changed the order of the master_sites, as the currently one listed as the first one is known to be slow..
A patch file is needed for the NLS support, this is a bug in the po/Makefile.in.in of lftp itself. (will submit the patch to the lftp author as well)
Attachments
Change History
Changed 6 years ago by yunzheng.hu@…
- Attachment patch-po-Makefile.in.in added
patch/diff file needed for +nls support
comment:1 Changed 6 years ago by yunzheng.hu@…
there is also a patch file left over in the 'files' dir that is not used anymore: 'patch-commands.cc.diff' it can be removed.
Changed 6 years ago by pipping@…
- Attachment lftp-3.5.9.diff added
new patch (includes adding the new patchfile, removing the old one; adds readline as a dependency)
Note: See
TracTickets for help on using
tickets.


Portfile for 3.5.9 (the complete file)