As of May 2023, MacPorts has over 33,600 ports and best-effort support can be sourced from the community. Version 2.0, released in 2011, introduced support for prebuilt binary archives by default ports are installed using the prebuilt binary archive if available, and are built from source otherwise. At that time, package installation involved the source code being downloaded and compiled on the end user's machine. In December 2005 the project reached a milestone, surpassing 3000 ports. Version 1.0 was released on April 28, 2005. As part of this change, git was used as the new version control system, although Trac was still preferred for ticket management over GitHub issues. When Apple closed Mac OS Forge in 2016, the project moved to GitHub. So as to indicate the project's emphasis on macOS, its name was changed to MacPorts. for third-party projects not supported by Apple. DarwinPorts was then hosted on Mac OS Forge, an open source hosting service created and maintained by Apple Inc. It began as part of the OpenDarwin project, with its aim to help users on macOS and Darwin to install Unix software. It was originally known as DarwinPorts, with the name coming from Darwin and FreeBSD Ports. employees, including Landon Fuller, Kevin Van Vechten, and Jordan Hubbard. MacPorts was started in 2002 with the involvement of a number of Apple Inc. Jordan Hubbard, one of the main creators of MacPorts whilst heading Apple's UNIX team. This can be done by running the following: Īs an example, one common task is to update outdated ports. It is similar in function to apt upgrade. upgrade upgrades any installed ports and its dependencies to the latest version found in the local ports tree.In most cases, this should be used in preference to just running sync by itself, and it is recommended to run this each time before using MacPorts. selfupdate has the same functionality as sync but also updates the MacPorts system.It is similar in function to brew update or apt update. It does not upgrade any installed packages, but instead retrieves information about new and updated software. There are three main usage modes of port that assist in updating installed software: MacPorts supports universal binaries for PowerPC, Intel-based, and Apple silicon versions of macOS, but migrating from a PowerPC installation of MacPorts to a version on an Intel Mac requires reinstalling all installed ports. Installed packages can be updated with the command sudo port upgrade outdated. MacPorts allows the installation of a number of packages by entering the command sudo port install packagename in the Terminal, which will then download, compile if necessary, and install the requested software, while also installing any required dependencies automatically. It is similar in function to Fink and the BSD ports collections. It is an open-source software project that aims to simplify the installation of other open source software. You should try to get it working like the Linux version so that it builds into a proper build-darwin-x86_64 directory.MacPorts, formerly DarwinPorts, is a package manager for macOS and Darwin. The hacks I've listed above should be just a start. Then adding a cross compile will be (relatively) easy. Just get it working with your native architecture. Rip out (or comment out) everything having to do with SDKs or universal binaries. It is interesting and I want to help more than I can right now. Otherwise, I would investigate this a bit more. Unfortunately, I am severely pressed for time the next couple of days. Ld: in build-darwin-i386/rcc/symbolic.o, in section _TEXT,_text reloc 563: local relocation for address 0x0000037B in section _text does not target section _const It will still fail on the following linker error: X86_64=$(shell gcc -dM -E - < /dev/null | grep -q _x86_64_)ĭid I mention that this project was junk? "make clean" doesn't work. Next edit the Makefile to remove a hack and properly set the processor architecture:ĬOMPILE_ARCH=$(shell uname -m | sed -e s/i.86/i386/) Next edit the file "./code/qcommon/q_platform.h" and add the following at the appropriate location: Once you have it working with your native architecture, then you can worry about a 10.5 and maybe a 32- bit version. The first thing you have to do is get rid of all the universal binary junk. You are the first one to build this code on a Mac in 4 years. Edit the make-macosx-ub.sh file and remove the PPC option from the BUILD
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |