[MacPorts] #45852: physfs #2.0.3 can't build on Leopard/PPC due to rpath (patch included)

MacPorts noreply at macports.org
Mon Nov 10 23:05:58 PST 2014


#45852: physfs #2.0.3 can't build on Leopard/PPC due to rpath (patch included)
-------------------------+--------------------------------
 Reporter:  khepler@…    |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.2
 Keywords:               |       Port:  physfs
-------------------------+--------------------------------
 physfs targets 10.2 on PowerPCs, but on Leopard cmake adds -Wl,-rpath to
 the GCC args which requires 10.5 or newer:
 {{{
 /opt/local/bin/cmake -E cmake_link_script CMakeFiles/physfs.dir/link.txt
 --verbose=1
 /usr/bin/gcc-4.2  -pipe -Os -arch ppc  -DNDEBUG -arch ppc -mmacosx-
 version-min=10.5 -dynamiclib -Wl,-headerpad_max_install_names
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
 -compatibility_version 1.0.0 -current_version 2.0.3 -o
 libphysfs.2.0.3.dylib -install_name /opt/local/lib/libphysfs.1.dylib
 CMakeFiles/physfs.dir/physfs.o CMakeFiles/physfs.dir/physfs_byteorder.o
 CMakeFiles/physfs.dir/physfs_unicode.o
 CMakeFiles/physfs.dir/platform/os2.o
 CMakeFiles/physfs.dir/platform/pocketpc.o
 CMakeFiles/physfs.dir/platform/posix.o
 CMakeFiles/physfs.dir/platform/unix.o
 CMakeFiles/physfs.dir/platform/macosx.o
 CMakeFiles/physfs.dir/platform/windows.o
 CMakeFiles/physfs.dir/archivers/dir.o
 CMakeFiles/physfs.dir/archivers/grp.o
 CMakeFiles/physfs.dir/archivers/hog.o
 CMakeFiles/physfs.dir/archivers/lzma.o
 CMakeFiles/physfs.dir/archivers/mvl.o
 CMakeFiles/physfs.dir/archivers/qpak.o
 CMakeFiles/physfs.dir/archivers/wad.o
 CMakeFiles/physfs.dir/archivers/zip.o CMakeFiles/physfs.dir/lzma/C/7zCrc.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zBuffer.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zDecode.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zExtract.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zHeader.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zIn.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zItem.o
 CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zMethodID.o
 CMakeFiles/physfs.dir/lzma/C/Compress/Branch/BranchX86.o
 CMakeFiles/physfs.dir/lzma/C/Compress/Branch/BranchX86_2.o
 CMakeFiles/physfs.dir/lzma/C/Compress/Lzma/LzmaDecode.o
 /opt/local/lib/libz.dylib -mmacosx-version-min=10.2 -framework Carbon
 -framework IOKit -Wl,-rpath,/opt/local/lib
 [ 49%] Built target physfs-static
 ld: -rpath can only be used when targeting Mac OS X 10.5 or later
 collect2: ld returned 1 exit status
 }}}

 Included patches set minimum build target to 10.5 on Leopard/PPC.

-- 
Ticket URL: <https://trac.macports.org/ticket/45852>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list