Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#29033 closed submission (fixed)

asprint @0.5.0 - New Port

Reported by: sepp@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: asprint

Description

Doesn't compile on PPC. I'm not sure how to mark this in the Portfile. However it works fine on i386 and x86_64.

Port asprint contains:
  /opt/local/bin/asprint
otool -L /opt/local/bin/asprint
/opt/local/bin/asprint:
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.10)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 832.0.0)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.42.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.53.0)
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.35.0)

Attachments (2)

Portfile (677 bytes) - added by sepp@… 14 years ago.
Makefile.patch (499 bytes) - added by sepp@… 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by sepp@…

Attachment: Portfile added

Changed 14 years ago by sepp@…

Attachment: Makefile.patch added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks, added in r77592 with these changes:

  • Fixed whitespace (tabs to spaces) and added modeline
  • Reordered lines in the portfile to match how we usually list them
  • Changed category from devel to sysutils
  • Refined description / long description
  • Used a specific git revision corresponding to version 0.5.0, not the head of the git repository which won't correspond to that version anymore if upstream makes further changes
  • Installed manpage and readme.txt
  • Changed license from MIT to Apache-2.0, as indicated both on the web site and in readme.txt
  • Prevented installation on Tiger, since the readme.txt says it requires Leopard or newer
  • Added universal variant, respecting build_arch and universal_archs and UsingTheRightCompiler
  • Fixed livecheck

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

  • r77593: fixed a syntax error in the manpage source

comment:4 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to sepp@…:

Doesn't compile on PPC. I'm not sure how to mark this in the Portfile. However it works fine on i386 and x86_64.

I think probably it was failing to compile on Leopard generally (Intel or PowerPC), because the Makefile was set to use /Developer/usr/bin/clang as the compiler, but clang has not been available in Xcode until Snow Leopard. I already fixed this in the initial commit by UsingTheRightCompiler. Further, I verified that the port builds and the software works fine on a Power Mac G4 running Leopard.

Note: See TracTickets for help on using tickets.