Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109142 - tnftp works on ppc-macos
Summary: tnftp works on ppc-macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 113777
  Show dependency tree
 
Reported: 2005-10-13 07:50 UTC by Emanuele Giaquinta (RETIRED)
Modified: 2006-04-12 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tnftp-macos.patch (tnftp-macos.patch,424 bytes, patch)
2005-10-13 07:51 UTC, Emanuele Giaquinta (RETIRED)
Details | Diff
tnftp-macos.patch (tnftp-macos.patch,488 bytes, patch)
2005-10-13 09:43 UTC, Emanuele Giaquinta (RETIRED)
Details | Diff
tnftp-autoconf.patch (tnftp-autoconf.patch,1.25 KB, patch)
2005-10-13 15:40 UTC, Emanuele Giaquinta (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 07:50:16 UTC
tnftp builds and works fine on ppc-macos, but a patch is needed to make the
final binary link with the internal static libedit.
Comment 1 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 07:51:52 UTC
Created attachment 70563 [details, diff]
tnftp-macos.patch
Comment 2 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 09:43:24 UTC
Created attachment 70576 [details, diff]
tnftp-macos.patch

this patch adds a test to configure.in; autoconf 2.13 is needed to regenerate
configure, since LIBOBJS is used directly.
Comment 3 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-13 15:40:26 UTC
Created attachment 70613 [details, diff]
tnftp-autoconf.patch

This patch makes configure.in autoconf-2.59 compatible, so configure can be
regenerated also on non progressive profiles.
Comment 4 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-10-23 07:01:31 UTC
Given that the not standard behaviour of apple's linker will make also other
packages unhappy, what about adding to make.defaults the following line?

LDFLAGS="-Xlinker -search_paths_first"
Comment 5 Fabian Groffen gentoo-dev 2005-10-26 01:46:40 UTC
hmmm... Kito?  What are your thoughts on that?
Comment 6 Fabian Groffen gentoo-dev 2005-11-26 12:13:07 UTC
this ebuild is not really interesting for OSX users, since tnftp seems to be
shipped with Tiger as 'ftp'.  I can't really make a distinction between the two.

Nevertheless, I aggregated the two patches in one, and did an eautoreconf to
enable it's changes.  Appears to work quite fine.  I bumped the revision to -r1
because I have the feeling this patch should be tested by other archs first at
least.
Comment 7 Fabian Groffen gentoo-dev 2005-11-28 09:01:24 UTC
This patch causes trouble for non-macos.
Comment 8 Emanuele Giaquinta (RETIRED) gentoo-dev 2005-11-28 09:07:51 UTC
What is the problem exactly?
Comment 9 Fabian Groffen gentoo-dev 2005-11-28 09:09:41 UTC
Ah... I like quick responses

see bug #113777
Comment 10 Fabian Groffen gentoo-dev 2005-12-02 04:11:01 UTC
patch needed autoconf 2.5+, fixed in ebuild