[MacPorts] #40324: fatsort: new port
#40324: fatsort: new port ------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: fatsort ------------------------+-------------------------------- Fatsort is a utility to sort files on FAT12/16/32 file systems, useful for MP3 players and other devices playing files as they show up in the file association table. Submitting a portfile for that. :) Note that this project is not using autotools. -- Ticket URL: <https://trac.macports.org/ticket/40324> MacPorts <http://www.macports.org/> Ports system for OS X
#40324: fatsort: new port -------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fatsort | -------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. Some observations: * Because it's not using an autotools-compatible configure script, you're responsible for manually adding a universal variant and using the right -arch flags. The [get_canonical_archflags] procedure can help you. * You don't need to add -L${prefix}/lib to ldflags; that's the default. * You usually don't need to add -I${prefix}/include to cflags because that really belongs in cppflags and is there by default. * Those reinplaces should be in post-patch not pre-build. -- Ticket URL: <https://trac.macports.org/ticket/40324#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40324: fatsort: new port -------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fatsort | -------------------------+-------------------------------- Comment (by ionic@…): LDFLAGS/C(PP)FLAGS and reinplace-hook position changed as per your request. About the universal comment... yes, you're right. I should at least set the arch flags. I've seen something like this in other Portfiles, so that'll be quick. Is universal building a requirement? I'll get to that tomorrow/after sleeping. -- Ticket URL: <https://trac.macports.org/ticket/40324#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40324: fatsort: new port -------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fatsort | -------------------------+-------------------------------- Comment (by ionic@…): What about this... it '''is''' hacky, but as muniversal is relying on the configure stage to set up CFLAGS/LDFLAGS and is not touching those variables at build time, I haven't seen any other workaround (but basically copying those whole muniversal PortGroup file into the portfile and adjusting that... which I really, really didn't want to do.) -- Ticket URL: <https://trac.macports.org/ticket/40324#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40324: fatsort: new port -------------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: fatsort | -------------------------+---------------------- Changes (by larryv@…): * cc: larryv@… (removed) * status: new => assigned * owner: macports-tickets@… => larryv@… Comment: I’ll commit this sometime this week. -- Ticket URL: <https://trac.macports.org/ticket/40324#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40324: fatsort: new port -------------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: fatsort | -------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r110844:110846, with a few changes: - Specified FreeBSD and Linux in “`platforms`”, since upstream claims to support them. - Specified license as “GPL-2+”. - Added a SHA256 checksum. - Specified CFLAGS and LDFLAGS via the build environment instead of patching the makefile. (Requires GNU Make.) - Specified MANDIR and SBINDIR as destroot arguments instead of `reinplace`-ing. - Enabled test phase, although it’ll just fail out on OS X. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/40324#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts