View Single Post
  #3   (View Single Post)  
Old 21st November 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Packages are built from ports. The build rules are located in the port's Makefile, and may specify architectural limitations by setting variables such as $ONLY_FOR_ARCHS, $NOT_FOR_ARCHS, and $SHARED_ONLY.

With one exception, packages are not cross-architecture. They are binary executables that are limited to a single architectural platform. The exception is documentation packages, which are defined as having no architecture at all.

The $BROKEN variable is set to prevent building a port entirely, and is used when there is a structural change in the OS that causes problems with the port. This is a different than the architectural limitation rules noted above.

Last edited by jggimi; 21st November 2013 at 12:15 PM. Reason: mentione of no-arch packages
Reply With Quote