Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13724 closed defect (duplicate)

libsdl_image-framework build failure on Leopard

Reported by: pmq@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Will attach a full build log. Any idea on this?
BTW:

anubis:src elizabeth$ file /opt/local/lib/libjpeg.dylib
/opt/local/lib/libjpeg.dylib: Mach-O dynamically linked shared library i386
anubis:src elizabeth$ file /opt/local/lib/libpng.dylib
/opt/local/lib/libpng.dylib: Mach-O dynamically linked shared library i386
anubis:src elizabeth$ file /opt/local/lib/libz.dylib
/opt/local/lib/libz.dylib: Mach-O dynamically linked shared library i386

This is an Intel Mac, 10.5 Leopard, Xcode 3.

Attachments (2)

LIBSDL_IMAGE-FWK (47.0 KB) - added by pmq@… 16 years ago.
build log
macports-sdl.diff (1.5 KB) - added by afb@… 16 years ago.
Portfile diff, for the reading impaired

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by pmq@…

Attachment: LIBSDL_IMAGE-FWK added

build log

comment:1 Changed 16 years ago by afb@…

Some of the SDL ports have universal arch hardcoded as the Xcode default, so only works if all dependencies were installed with +universal. I used the following to build it for native arch:

pre-build {
       xcode.build.settings-append    ARCHS="${os.arch}"
}

comment:2 Changed 16 years ago by afb@…

If I recall correctly, this affected:

  • devel/libsdl_ttf-framework
  • devel/libsdl_image-framework
  • audio/libsdl_mixer-framework

It might also need the following:

pre-destroot {
    xcode.destroot.settings ${xcode.build.settings}
}

Changed 16 years ago by afb@…

Attachment: macports-sdl.diff added

Portfile diff, for the reading impaired

comment:3 Changed 16 years ago by nox@…

Resolution: duplicate
Status: newclosed

Duplicate of #13137. Fixed in r32694.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.