You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Merge from trunk
git-svn-id: https://svn.macports.org/repository/macports/branches/gsoc11-post-destroot/base@98880 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -3,7 +3,356 @@
|
||||
# $Id$
|
||||
###
|
||||
|
||||
Unreleased changes:
|
||||
Release 2.1.3 (unreleased)
|
||||
- Fixed a bug where a certain order of starting and aborting a build,
|
||||
running selfupdate and continuing a build would resume building although
|
||||
it should start from the beginning.
|
||||
(#29223, cal in r96136, r96399, r96400, r96538)
|
||||
|
||||
- Fix permission problem in the creation of the ccache directory with
|
||||
ccache >= 3.1.7 by running the initialization step as the macportsuser.
|
||||
(raimue in r97868)
|
||||
|
||||
Release 2.1.2 (2012-07-26 by jmr):
|
||||
- Fixed autodetection of developer_dir with Xcode 4.4
|
||||
(#35150, mfeiri in r95552)
|
||||
|
||||
- Made conversion of images to archives more robust against missing images
|
||||
(jmr in r95480)
|
||||
|
||||
- Support spaces in hg.tag when fetching from mercurial (#22684 comment
|
||||
11,12, cal in r95438)
|
||||
|
||||
- Made mpkg fail when building a component pkg fails, instead of trying to
|
||||
continue (jmr in r95382)
|
||||
|
||||
- Added a log message when everything to be installed has an unsatisfied
|
||||
dependency, such as in the case of circular dependencies (jmr in r93962)
|
||||
|
||||
- Fixed incorrect error message when installing a port that has a
|
||||
dependency that is not in the index (#31130, jmr in r93511)
|
||||
|
||||
Release 2.1.1 (2012-05-19 by jmr):
|
||||
- Fixed incorrect parsing of mirror group URLs that contain a colon to
|
||||
indicate a port number (#32018, jmr in r93258)
|
||||
|
||||
- Do not print detailed progress information in rev-upgrade when stdout is
|
||||
not a terminal (#34480, cal in r93221,r93222)
|
||||
|
||||
- Made rev-upgrade avoid trying to upgrade ports that are not in the index
|
||||
(jmr in r93197)
|
||||
|
||||
- Fixed rev-upgrade disabling source-only mode in its first upgrade pass
|
||||
(jmr in r93153)
|
||||
|
||||
- Fixed incorrect rebuild order in rev-upgrade (cal in r93129)
|
||||
|
||||
- Fixed port lookups failing for all sources when the index is missing in
|
||||
one source (#30593, jmr in r92976)
|
||||
|
||||
- Fix database upgrade on Tiger, where SQLite doesn't support ALTER TABLE
|
||||
ADD COLUMN (#34463, cal in r93256)
|
||||
|
||||
Release 2.1.0 (2012-05-15 by jmr):
|
||||
- New configure.compiler options: macports-clang-2.9, macports-clang-3.0,
|
||||
macports-clang-3.1, macports-gcc-4.7, macports-gcc-4.8
|
||||
(jeremyhu in r86719, ryandesign in r91521)
|
||||
|
||||
- Avoid using pkg-config to find sqlite3 in our configure script unless it
|
||||
can't be found by other means, because some third-party packages
|
||||
incorrectly install a /usr/bin/pkg-config that points to an incompatible
|
||||
copy of sqlite3. (#30932, dluke/jmr in r91512)
|
||||
|
||||
- 'port pkg' and 'port mpkg' will now create flat packages (i.e. a xar
|
||||
archive rather than a directory) on 10.6+.
|
||||
(jmr in r91317, r91329, r91331, r91437)
|
||||
|
||||
- Fixed dependencies sometimes being installed multiple times when
|
||||
required with different archs. (#31794, jmr in r91357)
|
||||
|
||||
- Build-time dependencies will no longer be installed if a prebuilt
|
||||
archive is available for download (and port is configured to use it).
|
||||
(jmr in r91196, r91217)
|
||||
|
||||
- Added new config file archive_sites.conf, which can be used to configure
|
||||
additional archive download sources. Each source has an associated
|
||||
archive type; portarchivetype is now only used when creating archives
|
||||
locally. Sources also have an associated prefix, applications_dir and
|
||||
frameworks_dir, and if any of these do not match the current values, the
|
||||
source is not used. (jmr in r91009)
|
||||
|
||||
- Xcode 4.3 support: Search harder for developer directory; advise user to
|
||||
run xcode-select when necessary, searching for Xcode and suggesting
|
||||
xcode-select commands.
|
||||
(jberry, jmr in r89970,r89971,r89972,r89996,r89999,r90003,r90005-r90009,
|
||||
r90018-r90019,r90024,r90031)
|
||||
|
||||
- warn about non-existing developer_dir when it's set in macports.conf
|
||||
(cal in 90802)
|
||||
|
||||
- port automatically installs bsdmake when there's no bsdmake in $PATH and a
|
||||
port sets build.type bsd (#33355, cal in r90650)
|
||||
|
||||
- Added -W option for reinplace that sets a base directory that all file
|
||||
arguments are interpreted as being relative to. (raimue in r90610)
|
||||
|
||||
- Added macports.conf options 'host_blacklist' and 'preferred_hosts', used
|
||||
for indicating lists of download hosts that should not be used or should
|
||||
be used preferentially, respectively. These override the usual ping time
|
||||
check. Ping times are also now cached for 24 hours. (jmr in r89459)
|
||||
|
||||
- Added 'rev-upgrade' action checking for broken linkage and rebuilding
|
||||
ports containing broken files. Made rev-upgrade run automatically after
|
||||
each upgrade or install.
|
||||
(cal in branch gsoc11-rev-upgrade, merge in r88376, also cal, raimue, jmr
|
||||
in r88377,r88411,r88441,r88511,r88666,r88732,r89180,r89659,r89661,r90102,
|
||||
r90381)
|
||||
|
||||
- Added options controlling rev-upgrade behavior to macports.conf
|
||||
(jmr, cal in r88725,r88794,r89189)
|
||||
|
||||
- port livecheck regex finds multiple matches on the same line
|
||||
(raimue in r88031)
|
||||
|
||||
- Several improvements to port lint:
|
||||
licenses, subversion properties, maintainer addresses
|
||||
(#30194, snc, raimue in r85929, r86016, r89428, r89610)
|
||||
|
||||
- Added license_noconflict option to specify dependencies for which the
|
||||
maintainer has manually checked license compatibility and wishes to
|
||||
overrule the conservative automated checks. (jmr in r89004)
|
||||
|
||||
- Xcode 4.3 support: Use xcrun -find to find xcode compiler if it's not
|
||||
found in /usr/bin.
|
||||
(jberry, jmr in r88540,r88541,r88546,r88777,r88779,r88787,r89359,r89984,r90028)
|
||||
|
||||
- Added options compiler.blacklist, compiler.whitelist, and
|
||||
compiler.fallback; to allow blacklisting, whitelisting, and setting the
|
||||
fallback order for configure.compiler values, respectively.
|
||||
(#30041, jmr in r88676)
|
||||
|
||||
- Fix sync with subdirectory of Subversion 1.7-format working copy
|
||||
(#33573, jmr in 86872)
|
||||
|
||||
- Fixed conflicts not being checked for when installing ports that have no
|
||||
dependencies. (#31571, dports in r85382)
|
||||
|
||||
- dmg postflight: quote all paths to handle the increasingly frequent
|
||||
occurrence that $HOME contains spaces (#33583, ryandesign in r84345)
|
||||
|
||||
- dmg postflight: adjust wording of some messages (ryandesign in r84344)
|
||||
|
||||
- The deprecated Portfile options svn.tag, distcheck.check and
|
||||
livecheck.check have been removed. (raimue in r82763)
|
||||
|
||||
- Implement new option-replace using lsearch/lreplace. The old behavior is
|
||||
deprecated for option-replace with only one argument, but can still be
|
||||
found in option-strsed.
|
||||
(raimue in r82760, r82761)
|
||||
|
||||
- Added 'buildfromsource' macports.conf setting, which allows permanently
|
||||
selecting the behaviour of the -s or -b option. (jmr in r81540)
|
||||
|
||||
Release 2.0.4 (2012-02-25 by jmr)
|
||||
- Added -locale option for reinplace (jeremyhu in r89839)
|
||||
|
||||
- Xcode 4.3 support: Change home directory for MacPorts user to
|
||||
${prefix}/var/macports/home.
|
||||
(jberry, jmr in r89988, r89993, r90002, r90010, r90011)
|
||||
|
||||
- set env(HOME) to ${workpath}/.home when building ports
|
||||
(#31827, jmr in r89994, r90004)
|
||||
|
||||
- Fix use_xmkmf to honor xmkmf.env for its make Makefiles phase
|
||||
(#31504, jeremyhu in r89537, r89538, r89539)
|
||||
|
||||
- Added configure.cxx setting when configure.compiler is apple-gcc-4.2
|
||||
(jeremyhu in r80248)
|
||||
|
||||
- Xcode 4.3 support: added packagemaker_path macports.conf setting
|
||||
(jmr in r90058)
|
||||
|
||||
- Resolve ambiguity in selection in portlists
|
||||
(jberry in r88179, r88185)
|
||||
|
||||
- Xcode 4.3 support: updated default developer_dir location for 4.3
|
||||
(jmr in r90016)
|
||||
|
||||
- Xcode 4.3 support: use compilers in /usr/bin instead of developer_dir
|
||||
when possible, as the latter has proven to be volatile.
|
||||
(jmr in r90015)
|
||||
|
||||
- Xcode 4.3 support: updated SDK paths for 4.3 (jmr in r90000)
|
||||
|
||||
- Work around broken FTP proxy support in some versions of libcurl
|
||||
(jmr in r84351, r88045)
|
||||
|
||||
Release 2.0.3 (2011-09-05 by raimue)
|
||||
- Fix a regression introduced in 2.0.2 when fetching with a VCS
|
||||
(#31073, jmr in r83471)
|
||||
|
||||
Release 2.0.2 (2011-09-01 by jmr):
|
||||
- Messages recommending running selfupdate will no longer be printed when
|
||||
selfupdate is being run. (#23094, jmr in r83270, r83391)
|
||||
|
||||
- The PortIndex will not be regenerated during selfupdate when base is
|
||||
outdated. This avoids failure to index ports that use features only
|
||||
available in the current version. (#30739, jmr in r83271)
|
||||
|
||||
- Fixed build failures when the TMPDIR environment variable is set to a
|
||||
directory that is not writable by the macports user.
|
||||
(#30749, jmr in r83267)
|
||||
|
||||
- Fixed error when checksumming distfiles with names containing spaces.
|
||||
(#28568, jmr in r83149)
|
||||
|
||||
- The uninstall and deactivate actions now sort the port list so that
|
||||
dependents are processed before the ports they depend on.
|
||||
(#8431, jmr in r82947)
|
||||
|
||||
- Fixed an issue where a non-universal version of a port could be
|
||||
installed as a dependency as well as the universal version, with
|
||||
unpredictable results, when some ports in the dependency graph needed
|
||||
the universal version but others didn't. (jmr in r82924)
|
||||
|
||||
- Now using a temp dir inside ${prefix} when activating, as /tmp or
|
||||
/var/folders may be on a different volume. (jmr in r82767)
|
||||
|
||||
- Fixed extracting portfile-only archives. (#31033, jmr in r81830)
|
||||
|
||||
- Fixed adduser and addgroup procedures not re-dropping privileges when
|
||||
done. (jmr in r81630)
|
||||
|
||||
- Fixed error activating ports with names containing the string "cpio".
|
||||
(#30532, jmr in r81577)
|
||||
|
||||
Release 2.0.1 (2011-08-02 by jmr):
|
||||
- Fixed errors when installing some archives built on a case-sensitive
|
||||
filesystem onto a case-insensitive one. (#30373, jmr in r81562)
|
||||
|
||||
- Fixed users created by MacPorts showing up in the GUI in some places on
|
||||
Lion. (#30168, jeremyhu in r81558)
|
||||
|
||||
- Added replaced_by pseudo-portname selector. (afb in r81475)
|
||||
|
||||
- Added progress output to port image conversion script.
|
||||
(#30347, jmr in r81464)
|
||||
|
||||
- Now doing a better job of avoiding UID conflicts with non-local users
|
||||
when creating the 'macports' user. (#30464, jmr in r81414, r81415) Also
|
||||
improved Tiger compatibility in this area. (jmr in r81454, r81467)
|
||||
|
||||
- Fixed 'port selfupdate' exiting with non-zero status after installing a
|
||||
new version of base. (jmr in r81371)
|
||||
|
||||
- Added --subports to options accepted by 'port info'. (jmr in r81234)
|
||||
|
||||
- Fixed incorrect info sometimes being added to PortIndex entries when
|
||||
using subports. (#30463, jmr in r81361)
|
||||
|
||||
- Fixed descriptions not being shown for default variants. (jmr in r80971)
|
||||
|
||||
- Fixed 'port variants --index'. (jmr in r80969)
|
||||
|
||||
Release 2.0.0 (2011-07-22 by jmr):
|
||||
|
||||
- Multiple ports can now be defined in one Portfile using the 'subport'
|
||||
procedure. This reduces code duplication when several ports use very
|
||||
similar code. (jmr in r78062)
|
||||
|
||||
- Privilege dropping is now on by default. The runtime user can be changed
|
||||
when building from source but defaults to 'macports'; this user is
|
||||
created at install time. (jmr in r79025)
|
||||
|
||||
- Fetching from some extremely slow or partially unresponsive servers
|
||||
should now time out as expected. (raimue in r71038)
|
||||
|
||||
- The registry is now "vacuumed" (compacted/defragmented) after
|
||||
uninstalling ports. (jmr in r70608)
|
||||
|
||||
- Downloaded archives are now checked for integrity using digital
|
||||
signatures. Sync and selfupdate can also use a signed tarball. New
|
||||
pubkeys.conf file allows configuring keys to trust.
|
||||
(jmr in r68996, r79093)
|
||||
|
||||
- Added 'actinact' pseudo-portname that expands to installed ports with an
|
||||
active version and at least one inactive version.
|
||||
(#27666, jmr in r79421, based on patch from gmail.com:ww.galen)
|
||||
|
||||
- Added --size option for 'contents' action that makes it print the size
|
||||
of each file. (#27245, jmr in r79365, based on patch from
|
||||
gmail.com:ww.galen)
|
||||
|
||||
- Added 'space' action to show the disk space used by ports' active files.
|
||||
(#27244, jmr in r79349, based on patch from gmail.com:ww.galen)
|
||||
|
||||
- Actions can be abbreviated to an unambiguous prefix of the full name.
|
||||
(#27242, patch from gmail.com:ww.galen committed in r79259)
|
||||
|
||||
- Fixed error when activating ports whose version contains an underscore
|
||||
followed by an integer and a dash. (#28084, jmr in r79167)
|
||||
|
||||
- Deactivating a port that has dependents no longer needs to be forced
|
||||
when the dependents are all inactive. (#29505, jmr in r78086)
|
||||
|
||||
- New option 'add_users' has been added. Setting it will ensure that the
|
||||
listed users are created before all operations that may require them to
|
||||
exist. (#11563, jmr in r78660)
|
||||
|
||||
- 'port info --index' should be much faster and will work with the
|
||||
'current' pseudo-port provided the port has been indexed.
|
||||
(#13673, jmr in r78621)
|
||||
|
||||
- Relocation is explicitly disabled when building pkgs on 10.6, so Apple's
|
||||
Installer won't attempt to overwrite other copies of the same software
|
||||
not installed by MacPorts. (#25174, jmr in r78178)
|
||||
|
||||
- Non-Darwin platforms can once again build base against OpenSSL for
|
||||
checksum support. (#26813, afb in r77865)
|
||||
|
||||
- It is now safe to set svn.post_args, rather than that option being
|
||||
reserved for svn.url. (#27454, jmr in r73825)
|
||||
|
||||
- Variants specified when running 'port mpkg' are now set in the
|
||||
dependencies as well. (#27231, jmr in r73303)
|
||||
|
||||
- Fixed various issues with privilege dropping.
|
||||
(#26899, jmr in r69453 etc.)
|
||||
|
||||
- Trace mode no longer fails on 10.6. (#21582, jmr in r74318, r74369)
|
||||
|
||||
- Ports that create StartupItems (aka launchd plists) should now be
|
||||
installable by unprivileged users. (#10879, jmr in r66700, r75143)
|
||||
|
||||
- Fixed incorrect output from 'port dependents' when using newer SQLite
|
||||
versions. (#27506, patch from gmail.com:mmpestorich committed in r76827)
|
||||
|
||||
- The flat registry format is no longer available. Setting portdbformat to
|
||||
'flat' in macports.conf will result in the sqlite registry being used.
|
||||
(jmr in r77681)
|
||||
|
||||
- Port images are now stored as archives. Archive mode is now effectively
|
||||
always on. Among other benefits, this fixes some bugs with the handling
|
||||
of hard links installed by ports (e.g. #13601).
|
||||
|
||||
Direct mode is no longer available. Existing port image directories, and
|
||||
installed files for direct mode, will be converted to archives when
|
||||
upgrading.
|
||||
|
||||
(#19458, branch by blb, merged by jmr in r77511)
|
||||
|
||||
- master_site_local, patch_site_local, and archive_site_local can be set
|
||||
in macports.conf, with the same effects as the corresponding environment
|
||||
variables. (jmr in r74924)
|
||||
|
||||
- Added 'logfile' action that prints the path to a port's log file.
|
||||
(jmr in r74655)
|
||||
|
||||
- Computing large dependency trees that contain the same port(s) multiple
|
||||
times should be considerably faster. (jmr in r73133)
|
||||
|
||||
- New configure.compiler options: macports-gcc-4.6, macports-llvm-gcc-4.2,
|
||||
macports-clang (jmr in r71487; mfeiri in r72936, r72937)
|
||||
|
||||
- Add '-n' option to reinplace (#26406, ryandesign in r73227)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Copyright (c) 2002 - 2003, Apple Inc.
|
||||
Copyright (c) 2004 - 2010, The MacPorts Project.
|
||||
Copyright (c) 2004 - 2012, The MacPorts Project.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
+63
-6
@@ -8,7 +8,7 @@ DISTTAG = release_${subst .,_,${DISTVER}}
|
||||
DISTNAME = MacPorts-${DISTVER}
|
||||
DISTARCTAG = ${DISTTAG}-archive
|
||||
DISTARCNAME = ${DISTNAME}-archive
|
||||
SVNURL = http://svn.macports.org/repository/macports
|
||||
SVNURL = https://svn.macports.org/repository/macports
|
||||
|
||||
|
||||
include Mk/macports.autoconf.mk
|
||||
@@ -32,19 +32,76 @@ config.status: configure
|
||||
include Mk/macports.subdir.mk
|
||||
|
||||
install::
|
||||
[ ! -f $(DESTDIR)${sysconfdir}/macports/mp_version ] || rm -vf $(DESTDIR)${sysconfdir}/macports/mp_version
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash $(DESTDIR)${datadir}/macports/
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports-pubkey.pem $(DESTDIR)${datadir}/macports/
|
||||
[ ! -f "$(DESTDIR)${sysconfdir}/macports/mp_version" ] || rm -vf "$(DESTDIR)${sysconfdir}/macports/mp_version"
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} "$(DESTDIR)${datadir}/macports/"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 setupenv.bash "$(DESTDIR)${datadir}/macports/"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports-pubkey.pem "$(DESTDIR)${datadir}/macports/"
|
||||
# Only run these scripts when not building in a destroot
|
||||
ifeq ($(DESTDIR),)
|
||||
# create run user if it doesn't exist
|
||||
@if test -n "${DSCL}" -a -n "${DSEDITGROUP}" ; then \
|
||||
if ! ${DSCL} -q . -read /Groups/${RUNUSR} > /dev/null 2>&1 ; then \
|
||||
if test `id -u` -eq 0; then \
|
||||
echo "Creating group \"${RUNUSR}\"" ; \
|
||||
${DSEDITGROUP} -q -o create ${RUNUSR} ; \
|
||||
else \
|
||||
echo "Not creating group \"${RUNUSR}\" (not root)" ; \
|
||||
fi ; \
|
||||
fi ; \
|
||||
if ! ${DSCL} -q . -list /Users/${RUNUSR} > /dev/null 2>&1 ; then \
|
||||
if test `id -u` -eq 0; then \
|
||||
echo "Creating user \"${RUNUSR}\"" ; \
|
||||
NEXTUID=501; \
|
||||
while test -n "`${DSCL} -q /Search -search /Users UniqueID $$NEXTUID`"; do \
|
||||
let "NEXTUID=NEXTUID+1"; \
|
||||
done; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} UniqueID $$NEXTUID ; \
|
||||
\
|
||||
${DSCL} -q . -delete /Users/${RUNUSR} AuthenticationAuthority ; \
|
||||
${DSCL} -q . -delete /Users/${RUNUSR} PasswordPolicyOptions ; \
|
||||
${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:KerberosKeys ; \
|
||||
${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:ShadowHashData ; \
|
||||
\
|
||||
${DSCL} -q . -create /Users/${RUNUSR} RealName MacPorts ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} Password \* ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} PrimaryGroupID $$(${DSCL} -q . -read /Groups/${RUNUSR} PrimaryGroupID | /usr/bin/awk '{print $$2}') ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} NFSHomeDirectory "${localstatedir}/macports/home" ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} UserShell /usr/bin/false ; \
|
||||
else \
|
||||
echo "Not creating user \"${RUNUSR}\" (not root)" ; \
|
||||
fi ; \
|
||||
fi ; \
|
||||
if test "$$(${DSCL} -q . -read /Users/${RUNUSR} NFSHomeDirectory)" = "NFSHomeDirectory: /var/empty" ; then \
|
||||
if test `id -u` -eq 0; then \
|
||||
echo "Updating home directory location for user \"${RUNUSR}\"" ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} NFSHomeDirectory "${localstatedir}/macports/home" ; \
|
||||
else \
|
||||
echo "Not updating home directory location for user \"${RUNUSR}\" (not root)" ; \
|
||||
fi ; \
|
||||
fi ; \
|
||||
if test `sw_vers -productVersion | /usr/bin/awk -F . '{print $$2}'` -eq 4 -a `id -u` -eq 0; then \
|
||||
GID=`${DSCL} -q . -read /Groups/${RUNUSR} PrimaryGroupID | /usr/bin/awk '{print $$2}'` ; \
|
||||
if test "`${DSCL} -q . -read /Users/${RUNUSR} PrimaryGroupID 2>/dev/null | /usr/bin/awk '{print $$2}'`" != "$$GID"; then \
|
||||
echo "Fixing PrimaryGroupID for user \"${RUNUSR}\"" ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} PrimaryGroupID $$GID ; \
|
||||
${DSCL} -q . -create /Users/${RUNUSR} RealName MacPorts ; \
|
||||
fi ; \
|
||||
fi ; \
|
||||
else \
|
||||
echo "Can't find ${DSCL} / ${DSEDITGROUP}, not creating user \"${RUNUSR}\"" ; \
|
||||
fi
|
||||
# Add [default] tag to the central MacPorts repository, if it isn't already
|
||||
$(TCLSH) src/upgrade_sources_conf_default.tcl "${prefix}"
|
||||
# Convert image directories (and direct mode installs) to image archives
|
||||
$(TCLSH) src/images_to_archives.tcl "${macports_tcl_dir}"
|
||||
endif
|
||||
ifndef SELFUPDATING
|
||||
@echo ""; echo "Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, add ${prefix}/bin to your PATH and run:"; echo ""
|
||||
@echo "sudo port -v selfupdate"; echo ""
|
||||
@echo "Please read \"man port\", the MacPorts guide at http://guide.macports.org/ and Wiki at http://trac.macports.org/ for full documentation."; echo ""
|
||||
@echo "Please read \"man port\", the MacPorts guide at http://guide.macports.org/ and Wiki at https://trac.macports.org/ for full documentation."; echo ""
|
||||
else
|
||||
@echo ""; echo "Congratulations, you have successfully upgraded the MacPorts system."; echo ""
|
||||
endif
|
||||
|
||||
group::
|
||||
@echo "creating a macports group..." && sudo dseditgroup -o create -n . macports && echo "done! use './configure --with-install-group=macports --with-shared-directory' if you haven't already"
|
||||
@@ -71,7 +128,7 @@ _pkgdist:
|
||||
cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | gzip > ${PKGNAME}.tar.gz
|
||||
cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | bzip2 > ${PKGNAME}.tar.bz2
|
||||
cd ${DISTDIR}; for tarball in ${PKGNAME}.tar.*; do { \
|
||||
for type in -md5 -sha1 -ripemd160; do { \
|
||||
for type in -md5 -sha1 -ripemd160 -sha256; do { \
|
||||
openssl dgst $$type $$tarball; \
|
||||
}; done >> ${DISTNAME}.chk.txt; \
|
||||
}; done
|
||||
|
||||
@@ -7,12 +7,13 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR)
|
||||
OBJCFLAGS = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR)
|
||||
CFLAGS = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
|
||||
OBJCFLAGS = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_PEDANTIC) $(CFLAGS_WERROR)
|
||||
CPPFLAGS = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
|
||||
TCL_DEFS = @TCL_DEFS@
|
||||
SHLIB_CFLAGS = @SHLIB_CFLAGS@
|
||||
CFLAGS_QUICHEEATERS = @CFLAGS_QUICHEEATERS@
|
||||
CFLAGS_PEDANTIC = @CFLAGS_PEDANTIC@
|
||||
CFLAGS_WERROR = @CFLAGS_WERROR@
|
||||
|
||||
READLINE_CFLAGS =
|
||||
@@ -52,10 +53,12 @@ TCLSH = @TCLSH@
|
||||
TCL_PACKAGE_DIR = @TCL_PACKAGE_DIR@
|
||||
macports_tcl_dir = @macports_tcl_dir@
|
||||
|
||||
DSCL = @DSCL@
|
||||
DSEDITGROUP = @DSEDITGROUP@
|
||||
DSTUSR = @DSTUSR@
|
||||
DSTGRP = @DSTGRP@
|
||||
DSTMODE = @DSTMODE@
|
||||
|
||||
RUNUSR = @RUNUSR@
|
||||
|
||||
prefix = @prefix@
|
||||
sysconfdir = @sysconfdir@
|
||||
|
||||
@@ -1,3 +1,67 @@
|
||||
== Overview of changes from MacPorts 2.0.4 to 2.1.0 ==
|
||||
|
||||
# For regular users:
|
||||
|
||||
*) New 'rev-upgrade' action that checks for and rebuilds ports that may have
|
||||
become incorrectly linked when a dependency was upgraded to a new,
|
||||
binary-incompatible version. This runs automatically after upgrades and
|
||||
installs by default, and can be turned off or configured to only report
|
||||
problems in macports.conf.
|
||||
|
||||
*) The pkg and mpkg targets will create flat packages on 10.6+.
|
||||
|
||||
*) Build-time dependencies will no longer be installed if a prebuilt
|
||||
archive is available for download (and port is configured to use it).
|
||||
|
||||
*) Config file archive_sites.conf can be used to download archives from
|
||||
custom locations.
|
||||
|
||||
*) 'buildfromsource' macports.conf option allows permanently choosing
|
||||
source-only or binary-only mode.
|
||||
|
||||
*) New macports.conf options 'host_blacklist' and 'preferred_hosts', for
|
||||
controlling which download hosts will be used.
|
||||
|
||||
# For Portfile writers:
|
||||
|
||||
*) New -W option for reinplace that sets a base directory for all file
|
||||
arguments.
|
||||
|
||||
*) Livecheck can now find multiple regex matches on each line.
|
||||
|
||||
*) license_noconflict option can be used to override automatic license
|
||||
compatibility checks.
|
||||
|
||||
*) compiler.whitelist, compiler.blacklist, and compiler.fallback options allow
|
||||
simpler, detailed control over which compilers are used to build ports.
|
||||
|
||||
|
||||
== Overview of changes from MacPorts 1.9.2 to 2.0.0 ==
|
||||
|
||||
# For regular users:
|
||||
|
||||
*) Downloaded archives are now checked for integrity using digital signatures.
|
||||
New pubkeys.conf file allows configuring keys to trust.
|
||||
|
||||
*) Actions can be abbreviated to an unambiguous prefix of the full name.
|
||||
|
||||
*) Ports that create StartupItems (aka launchd plists) should now be
|
||||
installable by unprivileged users.
|
||||
|
||||
*) Port images are now stored as archives. Archive mode is now effectively
|
||||
always on. Direct mode and the flat registry format are no longer
|
||||
available. Conversion will happen automatically.
|
||||
|
||||
# For Portfile writers:
|
||||
|
||||
*) Multiple ports can now be defined in one Portfile using the 'subport'
|
||||
procedure.
|
||||
|
||||
*) New option 'add_users' can be set to ensure that the listed users are
|
||||
created at the right times during the install process.
|
||||
|
||||
*) SHA256 checksums are now supported.
|
||||
|
||||
== Overview of changes from MacPorts 1.8.2 to 1.9.0 ==
|
||||
|
||||
# For regular users:
|
||||
@@ -140,7 +204,7 @@
|
||||
builds (defaulting to no);
|
||||
*) Improved building of configure-based universal ports on Leopard;
|
||||
*) Fixed a bug by which the 'universal' variant would disappear if a 'macosx' variant was selected;
|
||||
*) Added a 'macosx_deployment_target' option to the main 'macports.conf' file for ports that benefit form this Mac OS X specific flag;
|
||||
*) Added a 'macosx_deployment_target' option to the main 'macports.conf' file for ports that benefit from this Mac OS X specific flag;
|
||||
*) Added a 'configurepipe' option to the main 'macports.conf' file for using pipes rather than intermediate files when compiling C/C++
|
||||
based ports;
|
||||
*) Removed LD_PREBIND & LD_PREBIND_ALLOW_OVERLAP variables from MacPorts' environment to prevent prebinding of binaries, which can be harmful
|
||||
|
||||
Vendored
+99
-19
@@ -295,7 +295,7 @@ AC_DEFUN([MP_CHECK_OLDLAYOUT],[
|
||||
AC_MSG_CHECKING([that any existing MacPorts install can be upgraded])
|
||||
|
||||
eval dpversionfile="${sysconfdir}/ports/dp_version"
|
||||
if test -f $dpversionfile; then
|
||||
if test -f "$dpversionfile"; then
|
||||
AC_MSG_ERROR([Existing MacPorts or DarwinPorts install is too old to be upgraded. Install MacPorts 1.7.1 first.])
|
||||
else
|
||||
AC_MSG_RESULT([yes])
|
||||
@@ -327,9 +327,15 @@ AC_DEFUN([MP_CHECK_NOROOTPRIVILEGES],[
|
||||
AC_MSG_RESULT([$DSTGRP])
|
||||
AC_SUBST(DSTGRP)
|
||||
|
||||
# Set run-user to current user
|
||||
AC_MSG_CHECKING([for macports user])
|
||||
RUNUSR=`id -un`
|
||||
AC_MSG_RESULT([$RUNUSR])
|
||||
AC_SUBST(RUNUSR)
|
||||
|
||||
# Set Tcl package directory to ~/Library/Tcl
|
||||
AC_MSG_CHECKING(for Tcl package directory)
|
||||
ac_cv_c_tclpkgd="~$DSTUSR/Library/Tcl"
|
||||
ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
|
||||
# Convert to a native path and substitute into the output files.
|
||||
PACKAGE_DIR_NATIVE=`${CYGPATH} ${ac_cv_c_tclpkgd}`
|
||||
TCL_PACKAGE_DIR=${PACKAGE_DIR_NATIVE}
|
||||
@@ -354,7 +360,7 @@ AC_DEFUN([MP_CHECK_RUNUSER],[
|
||||
|
||||
AC_MSG_CHECKING([for macports user])
|
||||
if test "x$RUNUSR" = "x" ; then
|
||||
RUNUSR=nobody
|
||||
RUNUSR=macports
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([$RUNUSR])
|
||||
@@ -640,7 +646,7 @@ AC_DEFUN(MP_TCL_PACKAGE_DIR, [
|
||||
fi
|
||||
fi
|
||||
elif test "$path" = "~/Library/Tcl"; then
|
||||
ac_cv_c_tclpkgd="~$DSTUSR/Library/Tcl"
|
||||
ac_cv_c_tclpkgd=`eval echo ~$DSTUSR/Library/Tcl`
|
||||
break
|
||||
fi
|
||||
done
|
||||
@@ -804,21 +810,23 @@ AC_DEFUN([MP_SQLITE3_FLAGS],[
|
||||
[ sqlite3prefix=$withval ])
|
||||
|
||||
if test "x$sqlite3prefix" = "x"; then
|
||||
AC_PATH_PROG([PKG_CONFIG], [pkg-config])
|
||||
if test "x$PKG_CONFIG" = "x" || ! $PKG_CONFIG --exists sqlite3; then
|
||||
# assume it's somewhere like /usr that needs no extra flags
|
||||
AC_CHECK_HEADER(sqlite3.h, [], [AC_MSG_ERROR([cannot find sqlite3 header])])
|
||||
CFLAGS_SQLITE3=""
|
||||
LDFLAGS_SQLITE3="-lsqlite3"
|
||||
else
|
||||
CFLAGS_SQLITE3=$($PKG_CONFIG --cflags sqlite3)
|
||||
LDFLAGS_SQLITE3=$($PKG_CONFIG --libs sqlite3)
|
||||
# for tclsqlite below
|
||||
mp_sqlite3_dir=$($PKG_CONFIG --variable=prefix sqlite3)
|
||||
if test "x$mp_sqlite3_dir" != "x"; then
|
||||
mp_sqlite3_dir=${mp_sqlite3_dir}/lib/sqlite3
|
||||
fi
|
||||
fi
|
||||
# see if it's somewhere like /usr that needs no extra flags
|
||||
LDFLAGS_SQLITE3="-lsqlite3"
|
||||
AC_CHECK_HEADER(sqlite3.h, [],[
|
||||
# nope - try pkg-config
|
||||
AC_PATH_PROG([PKG_CONFIG], [pkg-config])
|
||||
if test "x$PKG_CONFIG" = "x" || ! $PKG_CONFIG --exists sqlite3; then
|
||||
AC_MSG_ERROR([cannot find sqlite3 header])
|
||||
else
|
||||
CFLAGS_SQLITE3=$($PKG_CONFIG --cflags sqlite3)
|
||||
LDFLAGS_SQLITE3=$($PKG_CONFIG --libs sqlite3)
|
||||
# for tclsqlite below
|
||||
mp_sqlite3_dir=$($PKG_CONFIG --variable=prefix sqlite3)
|
||||
if test "x$mp_sqlite3_dir" != "x"; then
|
||||
mp_sqlite3_dir=${mp_sqlite3_dir}/lib/sqlite3
|
||||
fi
|
||||
fi
|
||||
])
|
||||
else
|
||||
CFLAGS_SQLITE3="-I${sqlite3prefix}/include"
|
||||
LDFLAGS_SQLITE3="-L${sqlite3prefix}/lib -lsqlite3"
|
||||
@@ -1058,3 +1066,75 @@ AC_DEFUN([MP_WERROR],[
|
||||
fi
|
||||
AC_SUBST([CFLAGS_WERROR])
|
||||
])
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# MP_CHECK_SQLITE_VERSION --
|
||||
#
|
||||
# Check for a specific SQLite version and execute commands depending on availability
|
||||
#
|
||||
# Arguments:
|
||||
# Required SQLite version for the test to succeed in the form of SQLITE_VERSION_NUMBER
|
||||
#
|
||||
# Requires:
|
||||
# MP_SQLITE3_FLAGS
|
||||
#
|
||||
# Depends:
|
||||
# AC_LANG_SOURCE
|
||||
#
|
||||
# Results:
|
||||
# Result is cached.
|
||||
#
|
||||
# sets mp_sqlite_version_ge_$1 to yes or no
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
AC_DEFUN(MP_CHECK_SQLITE_VERSION, [
|
||||
AC_REQUIRE([MP_SQLITE3_FLAGS])
|
||||
|
||||
AC_MSG_CHECKING([for SQLite >= $1])
|
||||
|
||||
mp_check_sqlite_version_cppflags_save=$CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $CFLAGS_SQLITE3"
|
||||
|
||||
AC_CACHE_VAL(mp_cv_sqlite_version_defined, [
|
||||
AC_PREPROC_IFELSE(
|
||||
[AC_LANG_SOURCE(
|
||||
[[
|
||||
#include <sqlite3.h>
|
||||
#ifndef SQLITE_VERSION_NUMBER
|
||||
# error "SQLITE_VERSION_NUMBER undefined"
|
||||
#endif
|
||||
]]
|
||||
)],
|
||||
[mp_cv_sqlite_version_defined="yes"],
|
||||
[AC_MSG_ERROR("SQLITE_VERSION_NUMBER undefined or sqlite3.h not found")]
|
||||
)
|
||||
])
|
||||
|
||||
if test x"${mp_cv_sqlite_version_defined}" = "xno"; then
|
||||
AC_MSG_RESULT([SQLite version not found])
|
||||
mp_sqlite_version_ge_$1="no"
|
||||
else
|
||||
AC_CACHE_VAL(mp_cv_sqlite_version_ge_$1, [
|
||||
AC_PREPROC_IFELSE(
|
||||
[AC_LANG_SOURCE(
|
||||
[[
|
||||
#include <sqlite3.h>
|
||||
#if (SQLITE_VERSION_NUMBER >= $1)
|
||||
/* Everything is fine */
|
||||
#else
|
||||
# error "SQLite version too old"
|
||||
#endif
|
||||
]]
|
||||
)],
|
||||
[mp_cv_sqlite_version_ge_$1="yes"],
|
||||
[mp_cv_sqlite_version_ge_$1="no"]
|
||||
)
|
||||
])
|
||||
|
||||
AC_MSG_RESULT(${mp_cv_sqlite_version_ge_$1})
|
||||
mp_sqlite_version_ge_$1=${mp_cv_sqlite_version_ge_$1}
|
||||
fi
|
||||
|
||||
CPPFLAGS=$mp_check_sqlite_version_cppflags_save
|
||||
])
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
http://svn.macports.org/repository/macports/tags/release_1_9_2/base
|
||||
https://svn.macports.org/repository/macports/tags/release_2_1_2/base
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.9.99
|
||||
2.1.99
|
||||
|
||||
+95
-48
@@ -32,11 +32,11 @@ case "$MACOSX_VERSION" in
|
||||
AC_MSG_ERROR([This version of Mac OS X is not supported
|
||||
Please upgrade at http://store.apple.com/])
|
||||
;;
|
||||
10.4.[[0-9]]|10.4.10|10.5.[[0-7]]|10.6.[[0-3]])
|
||||
10.4.[[0-9]]|10.4.10|10.5.[[0-7]]|10.6.[[0-7]]|10.7.[[0-2]])
|
||||
AC_MSG_WARN([This version of Mac OS X is out of date])
|
||||
AC_MSG_WARN([Please run Software Update to update it])
|
||||
;;
|
||||
10.4*|10.5*|10.6*)
|
||||
10.4*|10.5*|10.6*|10.7*)
|
||||
dnl Supported version
|
||||
;;
|
||||
*)
|
||||
@@ -44,20 +44,33 @@ case "$MACOSX_VERSION" in
|
||||
esac
|
||||
|
||||
# locate currently selected Xcode path
|
||||
AC_MSG_CHECKING(Xcode location)
|
||||
if test "x$XCODE_SELECT" != "x"; then
|
||||
AC_MSG_CHECKING(Xcode location)
|
||||
DEVELOPER_DIR=`$XCODE_SELECT -print-path`
|
||||
AC_MSG_RESULT([$DEVELOPER_DIR])
|
||||
else
|
||||
DEVELOPER_DIR=/Developer
|
||||
fi
|
||||
if test -z "$DEVELOPER_DIR" -o ! -d "$DEVELOPER_DIR" ; then
|
||||
if test -d /Applications/Xcode.app/Contents/Developer ; then
|
||||
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
|
||||
else
|
||||
DEVELOPER_DIR=/Developer
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT([$DEVELOPER_DIR])
|
||||
AC_SUBST(DEVELOPER_DIR)
|
||||
|
||||
XCODEPLIST=$DEVELOPER_DIR/Applications/Xcode.app/Contents/version.plist
|
||||
case "$DEVELOPER_DIR" in
|
||||
*Xcode.app/Contents/Developer)
|
||||
XCODEPLIST_BASE=`dirname $DEVELOPER_DIR`/version
|
||||
;;
|
||||
*)
|
||||
XCODEPLIST_BASE=$DEVELOPER_DIR/Applications/Xcode.app/Contents/version
|
||||
;;
|
||||
esac
|
||||
XCODEPLIST=${XCODEPLIST_BASE}.plist
|
||||
if test -r "$XCODEPLIST"; then
|
||||
AC_MSG_CHECKING(Xcode version)
|
||||
if test "x$DEFAULTS" != "x"; then
|
||||
XCODE_VERSION=`$DEFAULTS read $DEVELOPER_DIR/Applications/Xcode.app/Contents/version CFBundleShortVersionString`
|
||||
XCODE_VERSION=`$DEFAULTS read $XCODEPLIST_BASE CFBundleShortVersionString`
|
||||
else
|
||||
XCODE_VERSION=`tr -d '\r\n' < $XCODEPLIST | sed -e 's/.*<key>CFBundleShortVersionString<\/key>.<string>\([[0-9.]]*\)<\/string>.*/\1/'`
|
||||
fi
|
||||
@@ -73,7 +86,7 @@ case "$XCODE_VERSION" in
|
||||
AC_MSG_WARN([This version of Xcode Tools is out of date])
|
||||
AC_MSG_WARN([Please consider upgrading as some ports fail compiling])
|
||||
;;
|
||||
2.*|3.*)
|
||||
2.*|3.*|4.*)
|
||||
dnl Supported version
|
||||
;;
|
||||
*)
|
||||
@@ -82,63 +95,80 @@ esac
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_OBJC
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_LN_S
|
||||
AC_PATH_PROG(MTREE, [mtree], [], [$PATH:/usr/sbin])
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_OBJC
|
||||
|
||||
AC_PATH_PROGS(BSDMAKE, [bsdmake pmake], [])
|
||||
AC_PATH_PROG(BZIP2, [bzip2], [])
|
||||
AC_PATH_PROG(BZR, [bzr], [])
|
||||
AC_PATH_PROG(CHOWN, [chown], [], [$PATH:/usr/sbin])
|
||||
AC_PATH_PROG(CP, [cp], [])
|
||||
AC_PATH_PROG(CPIO, [cpio], [])
|
||||
AC_PATH_PROG(CVS, [cvs], [])
|
||||
AC_PATH_PROG(DIFF, [diff], [])
|
||||
AC_PATH_PROG(DSCL, [dscl], [])
|
||||
AC_PATH_PROG(DSEDITGROUP, [dseditgroup], [])
|
||||
AC_PATH_PROG(FILE, [file], [])
|
||||
AC_PATH_PROG(BZR, [bzr], [])
|
||||
AC_PATH_PROG(CVS, [cvs], [])
|
||||
AC_PATH_PROG(SVN, [svn], [])
|
||||
AC_PATH_PROG(GIT, [git], [])
|
||||
AC_PATH_PROG(HG, [hg], [])
|
||||
AC_PATH_PROG(GZIP, [gzip], [])
|
||||
AC_PATH_PROG(LIPO, [lipo], [])
|
||||
AC_PATH_PROG(PATCH, [patch], [])
|
||||
AC_PATH_PROG(RMDIR, [rmdir], [])
|
||||
AC_PATH_PROG(RSYNC, [rsync], [])
|
||||
AC_PATH_PROG(OPENSSL, [openssl], [])
|
||||
AC_PATH_PROG(SED, [sed])
|
||||
AC_PATH_PROG(TAR, [tar])
|
||||
AC_PATH_PROG(UNZIP, [unzip])
|
||||
AC_PATH_PROG(ZIP, [zip])
|
||||
AC_PATH_PROGS(BSDMAKE, [bsdmake pmake], [])
|
||||
AC_PATH_PROG(MAKE, [make])
|
||||
AC_PATH_PROG(HDIUTIL, [hdiutil], [])
|
||||
AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
|
||||
AC_PATH_PROG(LAUNCHCTL, [launchctl], [])
|
||||
AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
|
||||
AC_PATH_PROGS(GNUTAR, [gnutar gtar], [], [$PATH:/usr/local/bin])
|
||||
AC_PATH_PROGS(GNUMAKE, [gnumake gmake], [], [$PATH:/usr/local/bin])
|
||||
AC_PATH_PROGS(GNUPATCH, [gnupatch gpatch], [], [$PATH:/usr/local/bin])
|
||||
AC_PATH_PROG(BZIP2, [bzip2], [])
|
||||
AC_PATH_PROGS(GNUTAR, [gnutar gtar], [], [$PATH:/usr/local/bin])
|
||||
AC_PATH_PROG(GZIP, [gzip], [])
|
||||
AC_PATH_PROG(HDIUTIL, [hdiutil], [])
|
||||
AC_PATH_PROG(HG, [hg], [])
|
||||
AC_PATH_PROG(LAUNCHCTL, [launchctl], [])
|
||||
AC_PATH_PROG(LIPO, [lipo], [])
|
||||
AC_PATH_PROG(LSBOM, [lsbom], [])
|
||||
AC_PATH_PROG(LZMA, [lzma], [])
|
||||
AC_PATH_PROG(MAKE, [make])
|
||||
AC_PATH_PROG(MDFIND, [mdfind], [])
|
||||
AC_PATH_PROG(MDLS, [mdls], [])
|
||||
AC_PATH_PROG(MKBOM, [mkbom], [])
|
||||
AC_PATH_PROG(PAX, [pax], [])
|
||||
AC_PATH_PROG(XAR, [xar], [])
|
||||
AC_PATH_PROG(MTREE, [mtree], [], [$PATH:/usr/sbin])
|
||||
AC_PATH_PROG(OPEN, [open], [])
|
||||
AC_PATH_PROG(OPENSSL, [openssl], [])
|
||||
AC_PATH_PROG(PATCH, [patch], [])
|
||||
AC_PATH_PROG(PAX, [pax], [])
|
||||
AC_PATH_PROG(RMDIR, [rmdir], [])
|
||||
AC_PATH_PROG(RSYNC, [rsync], [])
|
||||
AC_PATH_PROG(SANDBOX_EXEC, [sandbox-exec], [], [/usr/bin])
|
||||
AC_PATH_PROG(SED, [sed])
|
||||
AC_PATH_PROG(SVN, [svn], [])
|
||||
AC_PATH_PROG(SWIG, [swig], [], [$PATH:/usr/local/bin])
|
||||
AC_PATH_PROG(TAR, [tar])
|
||||
AC_PATH_PROG(UNZIP, [unzip])
|
||||
AC_PATH_PROG(XAR, [xar], [])
|
||||
AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
|
||||
AC_PATH_PROG(XCRUN, [xcrun], [])
|
||||
AC_PATH_PROG(XZ, [xz], [])
|
||||
AC_PATH_PROG(ZIP, [zip])
|
||||
|
||||
AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
|
||||
|
||||
# Define some precious variables allowing user to override PATH for some programs
|
||||
AC_ARG_VAR(MTREE, [path to mtree command])
|
||||
AC_ARG_VAR(BSDMAKE, [path to bsdmake/pmake command])
|
||||
AC_ARG_VAR(BZIP2, [path to bzip2 command])
|
||||
AC_ARG_VAR(CVS, [path to cvs command])
|
||||
AC_ARG_VAR(SVN, [path to svn command])
|
||||
AC_ARG_VAR(GNUMAKE, [path to gnumake command])
|
||||
AC_ARG_VAR(GNUTAR, [path to gnutar command])
|
||||
AC_ARG_VAR(LZMA, [path to lzma command])
|
||||
AC_ARG_VAR(MAKE, [path to make command])
|
||||
AC_ARG_VAR(MTREE, [path to mtree command])
|
||||
AC_ARG_VAR(OPEN, [path to open command])
|
||||
AC_ARG_VAR(OPENSSL, [path to openssl command])
|
||||
AC_ARG_VAR(RSYNC, [path to rsync command])
|
||||
AC_ARG_VAR(SED, [path to sed command])
|
||||
AC_ARG_VAR(SVN, [path to svn command])
|
||||
AC_ARG_VAR(SWIG, [path to swig command])
|
||||
AC_ARG_VAR(TAR, [path to tar command])
|
||||
AC_ARG_VAR(MAKE, [path to make command])
|
||||
AC_ARG_VAR(GNUTAR, [path to gnutar command])
|
||||
AC_ARG_VAR(BSDMAKE, [path to bsdmake/pmake command])
|
||||
AC_ARG_VAR(GNUMAKE, [path to gnumake command])
|
||||
AC_ARG_VAR(BZIP2, [path to bzip2 command])
|
||||
AC_ARG_VAR(XAR, [path to xar command])
|
||||
AC_ARG_VAR(OPEN, [path to open command])
|
||||
AC_ARG_VAR(XZ, [path to xz command])
|
||||
|
||||
if test "x$MTREE" = "x"; then
|
||||
AC_MSG_ERROR([mtree not found])
|
||||
fi
|
||||
|
||||
MP_SED_EXTENDED_REGEXP
|
||||
MP_TAR_FAST_READ
|
||||
@@ -147,9 +177,11 @@ MP_PATCH_GNU_VERSION
|
||||
|
||||
# Quiche eaters options.
|
||||
if test x$GCC = xyes; then
|
||||
CFLAGS_QUICHEEATERS='-W -Wall -pedantic'
|
||||
CFLAGS_QUICHEEATERS='-Wextra -Wall'
|
||||
CFLAGS_PEDANTIC='-pedantic'
|
||||
fi
|
||||
AC_SUBST(CFLAGS_QUICHEEATERS)
|
||||
AC_SUBST(CFLAGS_PEDANTIC)
|
||||
MP_WERROR
|
||||
|
||||
MP_COMPILER_ATTRIBUTE_UNUSED
|
||||
@@ -169,8 +201,16 @@ PORTS_DIR_DEFAULT=`pwd | sed -e "s/base/ports/"`
|
||||
|
||||
# Check for paths
|
||||
AC_PREFIX_DEFAULT(/opt/local)
|
||||
if test x$prefix = x/usr/local; then
|
||||
AC_MSG_ERROR([Installing MacPorts into /usr/local is not supported])
|
||||
AC_ARG_WITH(
|
||||
unsupported-prefix,
|
||||
AS_HELP_STRING([--with-unsupported-prefix],
|
||||
[Acknowledge that you accept the consequences of using an unsupported prefix.]),
|
||||
[with_unsupported_prefix=$withval],
|
||||
[with_unsupported_prefix=no])
|
||||
if test x$prefix = x/usr/local -o x$prefix = x/usr && test x$with_unsupported_prefix != xyes; then
|
||||
AC_MSG_ERROR([Installing MacPorts into $prefix is not supported. If \
|
||||
you understand this and wish to do so anyway, pass --with-unsupported-prefix \
|
||||
to configure.])
|
||||
fi
|
||||
MP_PATH_PORTSDIR([$PORTS_DIR_DEFAULT])
|
||||
MP_PATH_MPCONFIGDIR
|
||||
@@ -213,7 +253,7 @@ AC_ARG_ENABLE(readline, AS_HELP_STRING([--enable-readline],[Enable addition of r
|
||||
[
|
||||
AC_CHECK_LIB([readline], [readline], [
|
||||
READLINE_LIBS=-lreadline
|
||||
AC_DEFINE([HAVE_LIBREADLINE], [1], [Define to 1 if you have the `readline' library (-lreadline).])
|
||||
AC_DEFINE([HAVE_LIBREADLINE], [1], [Define to 1 if you have the 'readline' library (-lreadline).])
|
||||
])
|
||||
AC_CHECK_DECLS([rl_username_completion_function,rl_filename_completion_function,rl_completion_matches,username_completion_function,filename_completion_function,completion_matches], [], [],
|
||||
[
|
||||
@@ -253,6 +293,11 @@ MP_LIBCURL_FLAGS
|
||||
## sqlite3
|
||||
MP_SQLITE3_FLAGS
|
||||
|
||||
MP_CHECK_SQLITE_VERSION(3003011)
|
||||
if test "x${mp_sqlite_version_ge_3003011}" = "xno"; then
|
||||
AC_DEFINE([sqlite3_prepare_v2], [sqlite3_prepare], [define sqlite3_prepare to sqlite_prepare_v2 if the latter is not available])
|
||||
fi
|
||||
|
||||
# Determine if we need to install some bundled packages
|
||||
OUR_INCLUDED_PACKAGES=
|
||||
|
||||
@@ -346,12 +391,14 @@ AC_CONFIG_FILES([
|
||||
Doxyfile
|
||||
Makefile
|
||||
Mk/macports.autoconf.mk
|
||||
doc/base.mtree
|
||||
doc/prefix.mtree
|
||||
doc/macosx.mtree
|
||||
doc/macports.conf
|
||||
doc/pubkeys.conf
|
||||
portmgr/freebsd/Makefile
|
||||
src/Makefile
|
||||
src/machista1.0/Makefile
|
||||
src/macports1.0/macports_autoconf.tcl
|
||||
src/port1.0/port_autoconf.tcl
|
||||
src/registry2.0/registry_autoconf.tcl
|
||||
|
||||
+23
-21
@@ -1,7 +1,7 @@
|
||||
MAN1= port.1
|
||||
MAN5= macports.conf.5
|
||||
MAN7= portfile.7 portstyle.7 porthier.7 portgroup.7
|
||||
CONF= macports.conf pubkeys.conf sources.conf variants.conf whitelist.conf
|
||||
CONF= archive_sites.conf macports.conf pubkeys.conf sources.conf variants.conf whitelist.conf
|
||||
INSTALLDIR= ${DESTDIR}${prefix}
|
||||
TOPSRCDIR= ..
|
||||
|
||||
@@ -17,7 +17,7 @@ clean:
|
||||
test:
|
||||
|
||||
distclean: clean
|
||||
rm -f macports.conf macosx.mtree prefix.mtree pubkeys.conf
|
||||
rm -f macports.conf base.mtree macosx.mtree prefix.mtree pubkeys.conf
|
||||
|
||||
%.1.gz: %.1
|
||||
gzip -c $^ > $@
|
||||
@@ -29,37 +29,39 @@ distclean: clean
|
||||
gzip -c $^ > $@
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${mpconfigdir}
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} "${INSTALLDIR}"
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} "${DESTDIR}${mpconfigdir}"
|
||||
|
||||
<prefix.mtree $(MTREE) -U -e -p ${INSTALLDIR} > /dev/null
|
||||
< prefix.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
|
||||
< base.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
|
||||
if test -L "${INSTALLDIR}/man" ; then \
|
||||
rm -f "${INSTALLDIR}/man"; \
|
||||
fi
|
||||
|
||||
if test ! -e "${INSTALLDIR}/man" ; then \
|
||||
$(LN_S) share/man ${INSTALLDIR}/man; \
|
||||
$(LN_S) share/man "${INSTALLDIR}/man"; \
|
||||
fi
|
||||
|
||||
for f in ${CONF}; do \
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$f ${DESTDIR}${mpconfigdir}/$${f}.default; \
|
||||
if test ! -e ${DESTDIR}${mpconfigdir}/$$f ; then \
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$f "${DESTDIR}${mpconfigdir}/$${f}.default"; \
|
||||
if test ! -e "${DESTDIR}${mpconfigdir}/$$f" ; then \
|
||||
set -x; \
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 $$f ${DESTDIR}${mpconfigdir}; \
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 $$f "${DESTDIR}${mpconfigdir}"; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# delete old uncompressed man pages if they exist
|
||||
for m in ${MAN1}; do rm -f ${INSTALLDIR}/share/man/man1/$$m ; done
|
||||
for m in ${MAN5}; do rm -f ${INSTALLDIR}/share/man/man5/$$m ; done
|
||||
for m in ${MAN7}; do rm -f ${INSTALLDIR}/share/man/man7/$$m ; done
|
||||
for m in ${MAN1}; do rm -f "${INSTALLDIR}/share/man/man1/$$m" ; done
|
||||
for m in ${MAN5}; do rm -f "${INSTALLDIR}/share/man/man5/$$m" ; done
|
||||
for m in ${MAN7}; do rm -f "${INSTALLDIR}/share/man/man7/$$m" ; done
|
||||
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/share/macports/install
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${INSTALLDIR}/share/macports/install/
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macosx.mtree ${INSTALLDIR}/share/macports/install/
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1.gz ${INSTALLDIR}/share/man/man1
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports.conf.5.gz ${INSTALLDIR}/share/man/man5
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7.gz ${INSTALLDIR}/share/man/man7
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7.gz ${INSTALLDIR}/share/man/man7
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 porthier.7.gz ${INSTALLDIR}/share/man/man7
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portgroup.7.gz ${INSTALLDIR}/share/man/man7
|
||||
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} "${INSTALLDIR}/share/macports/install"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 base.mtree "${INSTALLDIR}/share/macports/install/"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree "${INSTALLDIR}/share/macports/install/"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macosx.mtree "${INSTALLDIR}/share/macports/install/"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1.gz "${INSTALLDIR}/share/man/man1"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports.conf.5.gz "${INSTALLDIR}/share/man/man5"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7.gz "${INSTALLDIR}/share/man/man7"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7.gz "${INSTALLDIR}/share/man/man7"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 porthier.7.gz "${INSTALLDIR}/share/man/man7"
|
||||
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portgroup.7.gz "${INSTALLDIR}/share/man/man7"
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Configuration for (binary) archive sources.
|
||||
# $Id$
|
||||
|
||||
# Each entry is started by a name line. The only required values are name and
|
||||
# urls. Other fields are type, prefix, applications_dir and frameworks_dir,
|
||||
# which have the usual default values:
|
||||
# type tbz2
|
||||
# prefix /opt/local
|
||||
# applications_dir /Applications/MacPorts
|
||||
# frameworks_dir ${prefix}/Library/Frameworks
|
||||
#
|
||||
# type can be any of: tgz, tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
|
||||
# Note that some types require a corresponding tool to be installed, and
|
||||
# entries with an unsupported type will not be used.
|
||||
|
||||
# Example:
|
||||
#name mysource
|
||||
#urls http://example.com/ ftp://ftp.example.org/
|
||||
#type tbz2
|
||||
#prefix /opt/mysource
|
||||
#applications_dir /opt/mysource/Applications
|
||||
#frameworks_dir /opt/mysource/Library/Frameworks
|
||||
|
||||
# If you want to disable use of the archive sites listed in the ports tree,
|
||||
# you could do this:
|
||||
#name macports_archives
|
||||
#urls
|
||||
@@ -0,0 +1,28 @@
|
||||
# $Id$
|
||||
#
|
||||
# MacPorts filesystem hierarchy, for internal use only. Changes to this file will not stick across installations.
|
||||
#
|
||||
|
||||
/set type=dir uname=@DSTUSR@ gname=@DSTGRP@ mode=@DSTMODE@
|
||||
.
|
||||
var
|
||||
macports
|
||||
build
|
||||
..
|
||||
distfiles
|
||||
..
|
||||
home
|
||||
Library
|
||||
Preferences
|
||||
..
|
||||
..
|
||||
..
|
||||
logs
|
||||
..
|
||||
registry
|
||||
..
|
||||
software
|
||||
..
|
||||
..
|
||||
..
|
||||
..
|
||||
+33
-2
@@ -1,5 +1,6 @@
|
||||
.\" Copyright (c) 2005 Matt Anton <matt@opendarwin.org>
|
||||
.\" Copyright (c) 2007 Juan Manuel Palacios <jmpp@macports.org>
|
||||
.\" Copyright (c) 2007-2011 The MacPorts Project
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
@@ -91,6 +92,14 @@ ports if available.
|
||||
.br
|
||||
.Ic Default:
|
||||
${prefix}/etc/macports/variants.conf
|
||||
.It Va buildfromsource
|
||||
Controls whether ports are built from source or downloaded as pre-built
|
||||
archives. Setting to 'always' will never use archives, 'never' will always
|
||||
try to use an archive and fail if one is not available. 'ifneeded' will try to
|
||||
fetch an archive and fall back to building from source if that isn't possible.
|
||||
.br
|
||||
.Ic Default:
|
||||
ifneeded
|
||||
.It Va portarchivetype
|
||||
Format of archives in which to store port images. This controls both the type
|
||||
of archive created locally after building from source, and the type to request
|
||||
@@ -203,13 +212,35 @@ Default rsync options to use when connecting to the rsync server.
|
||||
-rtzv --delete-after
|
||||
.It Va binpath
|
||||
Sets the directory search path for locating system executables used by MacPorts. This variable should contain
|
||||
the paths for locating utilities such as rsync, tar, cvs and others. Don't change this unless you understand
|
||||
and accept the consequences.
|
||||
the paths for locating utilities such as rsync, tar, cvs and others. Changing this is unsupported; don't do so
|
||||
unless you understand and accept the consequences.
|
||||
.br
|
||||
.Ic Default:
|
||||
${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||
.It Va extra_env
|
||||
List of extra environment variables MacPorts should keep in the user's environment when sanitizing it.
|
||||
Changing this is unsupported.
|
||||
.It Va revupgrade_autorun
|
||||
Controls whether the rev-upgrade action will be run automatically after
|
||||
upgrading ports.
|
||||
.br
|
||||
.Ic Default:
|
||||
yes
|
||||
.It Va revupgrade_mode
|
||||
Controls the rev-upgrade functionality which checks for broken linking and can
|
||||
rebuild ports to fix it. 'rebuild' means ports will automatically be rebuilt
|
||||
when broken linking is detected in their files, while 'report' means broken
|
||||
files will be scanned for and reported but the ports will not be rebuilt.
|
||||
.br
|
||||
.Ic Default:
|
||||
rebuild
|
||||
.It Va default_compiler
|
||||
Default value for configure.compiler. This can be a space-separated list. Later
|
||||
entries will be used if earlier entries are unavailable or blacklisted by a
|
||||
port. Setting this is unsupported.
|
||||
.br
|
||||
.Ic Default:
|
||||
none (internal list based on Xcode version is normally used)
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width
|
||||
|
||||
+49
-19
@@ -10,12 +10,22 @@ prefix @prefix_expanded@
|
||||
# Where to store MacPorts working data
|
||||
portdbpath @localstatedir_expanded@/macports
|
||||
|
||||
# PATH settings that are used for external tools (configure, make, etc.) while installing ports. The default
|
||||
# paths are given in the example; it need not be uncommented. Customizing binpath is intended for advanced users only.
|
||||
# PATH settings that are used for external tools (configure, make, etc.) while
|
||||
# installing ports. The default paths are given in the example; it need not be
|
||||
# uncommented. Customizing binpath is unsupported and is intended for
|
||||
# advanced users only.
|
||||
#binpath @prefix_expanded@/bin:@prefix_expanded@/sbin:/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
# Directory containing Xcode Tools (default is to ask xcode-select)
|
||||
#developer_dir @DEVELOPER_DIR@
|
||||
#developer_dir @DEVELOPER_DIR@
|
||||
|
||||
# Path to PackageMaker.app
|
||||
# It may be necessary to set this with Xcode >= 4.3, as that version
|
||||
# requires PackageMaker to be installed manually from the Auxiliary Tools for
|
||||
# Xcode disk image. The default is /Applications/PackageMaker.app with Xcode
|
||||
# 4.3 and ${developer_dir}/Applications/Utilities/PackageMaker.app with older
|
||||
# versions.
|
||||
#packagemaker_path /Applications/PackageMaker.app
|
||||
|
||||
# Directory containing Applications from ports.
|
||||
applications_dir @MPAPPLICATIONSDIR@
|
||||
@@ -29,31 +39,36 @@ sources_conf @MPCONFIGDIR_EXPANDED@/sources.conf
|
||||
# Where to find global variants definition file (optional)
|
||||
variants_conf @MPCONFIGDIR_EXPANDED@/variants.conf
|
||||
|
||||
# When to build ports from source. Default is 'ifneeded', which downloads an
|
||||
# archive if available or builds from source otherwise. 'always' has the same
|
||||
# effect as -s on the command line, and 'never' is likewise the same as -b.
|
||||
#buildfromsource ifneeded
|
||||
|
||||
# Type of archives to use for port images
|
||||
#
|
||||
# Supported types: tgz, tar, tbz, tbz2 (default), tlz, txz, xar, zip, cpgz, cpio
|
||||
#portarchivetype tbz2
|
||||
#portarchivetype tbz2
|
||||
|
||||
# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
|
||||
# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
|
||||
# the default is x86_64 if the CPU supports it, i386 otherwise.
|
||||
#build_arch i386
|
||||
#build_arch i386
|
||||
|
||||
# CPU architectures to use for Universal Binaries (+universal variant)
|
||||
universal_archs @UNIVERSAL_ARCHS@
|
||||
|
||||
# Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/
|
||||
#configureccache no
|
||||
#configureccache no
|
||||
|
||||
# Location where ccache stores its files
|
||||
#ccache_dir @localstatedir_expanded@/macports/build/.ccache
|
||||
#ccache_dir @localstatedir_expanded@/macports/build/.ccache
|
||||
|
||||
# Maximum size ccache may use.
|
||||
# Use 'G', 'M', or 'K' suffix for giga-, mega- or kilobytes.
|
||||
#ccache_size 2G
|
||||
#ccache_size 2G
|
||||
|
||||
# Use distcc (distributed compiler) - see http://distcc.samba.org/
|
||||
#configuredistcc no
|
||||
#configuredistcc no
|
||||
|
||||
# Use pipes rather than intermediate files when compiling C/C++/etc
|
||||
#configurepipe yes
|
||||
@@ -68,24 +83,26 @@ universal_archs @UNIVERSAL_ARCHS@
|
||||
#buildmakejobs 0
|
||||
|
||||
# umask value to use when a port installs its files
|
||||
#destroot_umask 022
|
||||
#destroot_umask 022
|
||||
|
||||
# Set whether to automatically execute "clean" after "install" of ports
|
||||
#portautoclean yes
|
||||
|
||||
# Set to yes if you don't want logs to be deleted after successful builds
|
||||
#keeplogs no
|
||||
#keeplogs no
|
||||
|
||||
# Rsync server to fetch MacPorts sources from. Note that this is only used
|
||||
# for selfupdate. The source(s) for the ports tree are set in sources.conf.
|
||||
# Known mirrors at time of writing (see http://trac.macports.org/wiki/Mirrors
|
||||
# Known mirrors at time of writing (see https://trac.macports.org/wiki/Mirrors
|
||||
# for the current list):
|
||||
# rsync.macports.org - California, USA (master)
|
||||
# trd.no.rsync.macports.org - Trondheim, Norway
|
||||
#rsync_server rsync.macports.org
|
||||
|
||||
# Rsync directory from which to pull the base/ component (infrastructure) of MacPorts
|
||||
#rsync_dir release/base/
|
||||
# If this points to a .tar file, a signed .rmd160 must exist next to it
|
||||
# on the server and will be used to verify its integrity.
|
||||
#rsync_dir release/tarballs/base.tar
|
||||
|
||||
# Rsync options
|
||||
#rsync_options -rtzv --delete-after
|
||||
@@ -99,6 +116,12 @@ universal_archs @UNIVERSAL_ARCHS@
|
||||
# are installed.
|
||||
#startupitem_type default
|
||||
|
||||
# Option to install symlinks into /Library/LaunchAgents or /Library/LaunchDaemons
|
||||
# startupitem_install may be empty, "yes" or "no";
|
||||
# if the option is NOT "no" then a symlink for the startupitem will be created in
|
||||
# the appropriate system directory.
|
||||
#startupitem_install yes
|
||||
|
||||
# Extra environment variables to keep. Any variables listed here are added
|
||||
# to the list of variables that are not removed from the environment used
|
||||
# while processing ports. As with binpath, setting extra_env is intended for
|
||||
@@ -117,15 +140,22 @@ universal_archs @UNIVERSAL_ARCHS@
|
||||
# Equivalent environment variables: http_proxy, HTTPS_PROXY, FTP_PROXY,
|
||||
# RSYNC_PROXY, NO_PROXY
|
||||
#
|
||||
#proxy_override_env yes
|
||||
#proxy_override_env yes
|
||||
# HTTP proxy:
|
||||
#proxy_http hostname:12345
|
||||
#proxy_http hostname:12345
|
||||
# HTTPS proxy:
|
||||
#proxy_https hostname:12345
|
||||
#proxy_https hostname:12345
|
||||
# FTP proxy:
|
||||
#proxy_ftp hostname:12345
|
||||
#proxy_ftp hostname:12345
|
||||
# rsync proxy:
|
||||
#proxy_rsync hostname:12345
|
||||
#proxy_rsync hostname:12345
|
||||
# hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS,
|
||||
# and FTP, but not rsync):
|
||||
#proxy_skip internal1, internal2, internal3
|
||||
#proxy_skip internal1, internal2, internal3
|
||||
|
||||
# Set whether to automatically run rev-upgrade after upgrading ports
|
||||
#revupgrade_autorun yes
|
||||
# Option controlling action taken by rev-upgrade, which checks for broken
|
||||
# linking and can rebuild affected ports. Possible values are
|
||||
#'rebuild' (default) or 'report'.
|
||||
#revupgrade_mode rebuild
|
||||
|
||||
+61
-11
@@ -1,6 +1,7 @@
|
||||
.\" port.1
|
||||
.\"
|
||||
.\" Copyright (c) 2002 Apple Computer, Inc.
|
||||
.\" Copyright (c) 2004-2011 The MacPorts Project
|
||||
.\" Copyright (c) 2002-2003 Apple Inc.
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
@@ -11,7 +12,7 @@
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. Neither the name of Apple Computer, Inc. nor the names of its
|
||||
.\" 3. Neither the name of Apple Inc. nor the names of its
|
||||
.\" contributors may be used to endorse or promote products derived from
|
||||
.\" this software without specific prior written permission.
|
||||
.\"
|
||||
@@ -104,6 +105,10 @@ set of installed and active ports.
|
||||
set of installed but inactive ports.
|
||||
.Pp
|
||||
.It
|
||||
.Ar actinact :
|
||||
set of installed ports that have both an active version and one or more inactive versions.
|
||||
.Pp
|
||||
.It
|
||||
.Ar installed :
|
||||
set of all installed ports.
|
||||
.Pp
|
||||
@@ -247,7 +252,7 @@ uninstall non-active ports when upgrading and uninstalling
|
||||
.It Fl f
|
||||
force mode (ignore state file)
|
||||
.It Fl o
|
||||
honor state files older than Portfile
|
||||
honor state files even if the Portfile has been modified since (called -o because it used to mean "older")
|
||||
.It Fl s
|
||||
source-only mode (build and install from source, do not attempt to fetch binary archives)
|
||||
.It Fl b
|
||||
@@ -362,13 +367,13 @@ Deactivate and uninstall
|
||||
.Ar portname .
|
||||
To uninstall all installed but inactive ports, use
|
||||
.Fl u .
|
||||
To recursively uninstall all dependents of
|
||||
To recursively uninstall all ports that depend on
|
||||
.Ar portname
|
||||
before uninstalling the port itself, use
|
||||
.Fl -follow-dependents .
|
||||
To uninstall
|
||||
.Ar portname
|
||||
and then recursively uninstall all its dependencies, use
|
||||
and then recursively uninstall all ports it depended on, use
|
||||
.Fl -follow-dependencies .
|
||||
This will not uninstall dependencies that are marked as requested or that have other dependents.
|
||||
.Pp
|
||||
@@ -377,6 +382,31 @@ For example:
|
||||
.Dl "port uninstall vim"
|
||||
.Dl "port -u uninstall"
|
||||
.Dl "port uninstall --follow-dependents python24"
|
||||
.Ss select
|
||||
For a given
|
||||
.Ar group ,
|
||||
selects a
|
||||
.Ar version
|
||||
to be the default by creating appropriate symbolic links.
|
||||
For instance,
|
||||
.Ic "python"
|
||||
might be linked to
|
||||
.Ic "python2.6" .
|
||||
Available select groups are installed as subdirectories of
|
||||
.Ar ${prefix}/etc/select/ .
|
||||
To list the available versions in a group, use
|
||||
.Fl -list .
|
||||
To see which version is currently selected for a group, use
|
||||
.Fl -show .
|
||||
To change the selected version for a group, use
|
||||
.Fl -set .
|
||||
.Pp
|
||||
For example:
|
||||
.Pp
|
||||
.Dl "port select --list python"
|
||||
.Dl "port select --show gcc"
|
||||
.Dl "port select --set gcc mp-gcc44"
|
||||
.Pp
|
||||
.Ss activate
|
||||
Activate the installed
|
||||
.Ar portname .
|
||||
@@ -462,6 +492,27 @@ finally the global variants specified in variants.conf, if any. Note that
|
||||
upgrade will not normally rebuild a port only to change the selected
|
||||
variants; you can either specify --enforce-variants, or deactivate the port and reinstall it
|
||||
with different variants.
|
||||
.Pp
|
||||
After the upgrade MacPorts will automatically run \fBrev-upgrade\fP to check for
|
||||
broken ports that need to be rebuilt. If there are known problems with
|
||||
\fBrev-upgrade\fP or other reasons why you would want to avoid running this
|
||||
step, you can disable it by running \fBport upgrade\fP with the
|
||||
\fB--no-rev-upgrade\fP switch:
|
||||
.Pp
|
||||
.Dl "port upgrade --no-rev-upgrade outdated"
|
||||
.Ss rev-upgrade
|
||||
Manually check for broken binaries and rebuild ports containing broken binaries.
|
||||
\fBrev-upgrade\fP is usually automatically run after each upgrade, unless you
|
||||
specify the \fB--no-rev-upgrade\fP option.
|
||||
.Pp
|
||||
\fBrev-upgrade\fP can run more checks against a special loadcommand in Mach-O
|
||||
binaries that should always be referencing the file itself. This check is most
|
||||
helpful for maintainers to check whether their ports have been built correctly.
|
||||
It is disabled by default and can be enabled by passing \fB--id-loadcmd-check\fP
|
||||
to \fBrev-upgrade\fP.
|
||||
.Pp
|
||||
See also:
|
||||
.Xr macports.conf 5
|
||||
.Ss clean
|
||||
Clean the files used for building
|
||||
.Ar portname .
|
||||
@@ -493,6 +544,10 @@ For example:
|
||||
.Dl "port log --phase configure vim"
|
||||
.Dl "port log --phase fetch --verbosity debug vim"
|
||||
.Pp
|
||||
.Ss logfile
|
||||
Displays the path to the log file for
|
||||
.Ar portname .
|
||||
.Pp
|
||||
.Ss echo
|
||||
Writes to stdout the arguments passed to
|
||||
.Nm .
|
||||
@@ -581,18 +636,13 @@ on stdout.
|
||||
.Ss edit
|
||||
Opens
|
||||
.Ar Portfile
|
||||
with your default editor specified in your shell's environment variable. Alias
|
||||
.Ar ed
|
||||
also invokes this command.
|
||||
with your default editor specified in your shell's environment variable.
|
||||
.Pp
|
||||
You can also use the
|
||||
.Fl -editor
|
||||
flag on the command line to specify an alternative editor. For example:
|
||||
.Dl port edit --editor nano apache2
|
||||
.Pp
|
||||
.Ss ed
|
||||
An alias for
|
||||
.Ic edit .
|
||||
.Ss fetch
|
||||
Fetches the distribution files required to build
|
||||
.Ar portname .
|
||||
|
||||
+121
-50
@@ -1,6 +1,7 @@
|
||||
.\" portfile.7
|
||||
.\"
|
||||
.\" Copyright (c) 2002 Apple Computer, Inc.
|
||||
.\" Copyright (c) 2004-2011 The MacPorts Project
|
||||
.\" Copyright (c) 2002-2003 Apple Inc.
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
@@ -11,7 +12,7 @@
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. Neither the name of Apple Computer, Inc. nor the names of its
|
||||
.\" 3. Neither the name of Apple Inc. nor the names of its
|
||||
.\" contributors may be used to endorse or promote products derived from
|
||||
.\" this software without specific prior written permission.
|
||||
.\"
|
||||
@@ -83,9 +84,14 @@ Upstream version of software.
|
||||
If a port's version numbering changes such that a newer version looks
|
||||
older than the previous version, the
|
||||
.Ic epoch
|
||||
should be increased. Often the
|
||||
should be increased. Some
|
||||
.Nm Portfile
|
||||
authors have used large
|
||||
.Ic epoch
|
||||
is formatted like a date.
|
||||
values that look like a date, but there is no reason to do so. The
|
||||
.Ic epoch
|
||||
is simply an unsigned integer, and the only requirement is that it never be
|
||||
decreased.
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
@@ -94,7 +100,7 @@ is formatted like a date.
|
||||
.Em 0
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl epoch 20041231
|
||||
.Dl epoch 1
|
||||
.It Ic description
|
||||
One line description of the software and what it does. To appear in the
|
||||
description, brackets and semi-colons need to be escaped with a backslash (i.e.
|
||||
@@ -200,6 +206,28 @@ Declares which platforms are supported by the port.
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl platforms darwin
|
||||
.It Ic supported_archs
|
||||
The CPU architectures for which this port can be built. Archs currently
|
||||
supported by Mac OS X are: i386, ppc, ppc64, x86_64. If this option is not set,
|
||||
it is assumed that the port can build for all archs. If a port does not install
|
||||
any architecture-specific files, use the special value noarch.
|
||||
.br
|
||||
If the building architecture isn't among supported_archs, port fails with an
|
||||
error message except when building on x86_64 (or ppc64) and supported_archs
|
||||
contains i386 (or ppc). In this case, the port will be built in 32-bit mode.
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Values:
|
||||
.Em i386 x86_64 ppc ppc64 noarch
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em i386 x86_64 ppc ppc64
|
||||
.br
|
||||
.Sy Examples:
|
||||
.Dl supported_archs i386 x86_64
|
||||
.Dl supported_archs noarch
|
||||
.It Ic homepage
|
||||
Project homepage for the port.
|
||||
.br
|
||||
@@ -256,7 +284,7 @@ List of checksums for the
|
||||
.Ic distfiles .
|
||||
The checksum
|
||||
.Ar type
|
||||
can currently be md5, rmd160 or sha1. The
|
||||
can currently be md5, sha1, rmd160 or sha256. The
|
||||
.Ar filename
|
||||
can be omitted if there is only one distfile.
|
||||
.br
|
||||
@@ -300,10 +328,10 @@ If set to yes (and the user has enabled buildmakejobs in
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em no
|
||||
.Em yes
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl use_parallel_build yes
|
||||
.Dl use_parallel_build no
|
||||
.It Ic use_automake
|
||||
If set to yes, run the
|
||||
.Cm automake
|
||||
@@ -401,6 +429,43 @@ realname, home, and shell.
|
||||
.Dl add_users squid group=squid realname=Squid\e Proxy home=${prefix}/var/squid
|
||||
.sp
|
||||
.Dl add_users user1 group=mygroup user2 group=mygroup
|
||||
.It Ic installs_libs
|
||||
By default, it is assumed that ports may install libraries or headers that can
|
||||
be incorporated into their dependents. If this is not the case, set
|
||||
.Cm installs_libs
|
||||
to
|
||||
.Em no .
|
||||
This means that this port's dependents need not check that it is installed
|
||||
for the same architectures as them; that it is permissible to distribute
|
||||
binaries of the dependents even if their licenses conflict with the license
|
||||
of this port; and that updates to this port can never result in broken dynamic
|
||||
linking in its dependents.
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em none
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl installs_libs no
|
||||
.It Ic license_noconflict
|
||||
By default, it is assumed that ports may use libraries or headers from their
|
||||
dependencies and thus form a derivative work. A dependency with an
|
||||
incompatible license thus prevents the port from being distributed in binary
|
||||
form. If a dependency with an incompatible license is not used in such a way
|
||||
that a derivative work is formed, or should not prevent binary distribution
|
||||
for any other reason, add its name to this list.
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em none
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl license_noconflict openssl
|
||||
.Dl license_noconflict readline gdbm
|
||||
.El
|
||||
.Sh TARGET HOOKS
|
||||
A number of hooks are available for customizing many of the standard
|
||||
@@ -438,7 +503,7 @@ is run in. This is often overridden on a per
|
||||
basis.
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl configure.env CPP=/usr/bin/cpp-4.0
|
||||
.Dl build.env CC="${configure.cc} [get_canonical_archflags]"
|
||||
.It Va target Ns Ic .pre_args
|
||||
Additional arguments passed before the main arguments.
|
||||
.br
|
||||
@@ -574,7 +639,7 @@ bundles (.app directories).
|
||||
.Em read-only
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em /Applications/Macports
|
||||
.Em /Applications/MacPorts
|
||||
.It Ic frameworks_dir
|
||||
Absolute path to the final location to install Mac OS X framework
|
||||
bundles (.framework directories).
|
||||
@@ -586,7 +651,7 @@ bundles (.framework directories).
|
||||
.Em ${prefix}/Library/Frameworks
|
||||
.El
|
||||
.Sh DEPENDENCY OPTIONS
|
||||
Port dependencies should refer to other MacPort ports
|
||||
Port dependencies should refer to other MacPorts ports
|
||||
whenever possible, therefore each dependency should be
|
||||
expressed in the format:
|
||||
.Bl -tag -width ls
|
||||
@@ -649,7 +714,7 @@ targets.
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl depends_extract port:xz-devel
|
||||
.Dl depends_extract path:bin/xz:xz
|
||||
.It Ic depends_build
|
||||
List of dependencies to check before
|
||||
.Cm configure ,
|
||||
@@ -767,7 +832,7 @@ List of patches to fetch and apply.
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl patchfiles japanese-widechar-fix.diff japanese-localization.diff
|
||||
.Dl patchfiles patch-Makefile.in.diff patch-main.c.diff
|
||||
.It Ic use_zip
|
||||
Use zip.
|
||||
.br
|
||||
@@ -944,9 +1009,9 @@ Specify the url from which to fetch files.
|
||||
.Em none
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl svn.url http://www.domain.com/svn-repo/mydirectory
|
||||
svn.url svn://www.domain.com/svn-repo/mydirectory
|
||||
.It Ic svn.tag
|
||||
.Dl svn.url https://www.example.com/svn/project/tags/1.2.3
|
||||
svn.url svn://www.example.com/svn/project/tags/1.2.3
|
||||
.It Ic svn.revision
|
||||
Specify a tag from which svn should fetch files. This
|
||||
corresponds to the -r option to the svn cli. Note that you
|
||||
will need to use backslashes to escape characters that have
|
||||
@@ -960,8 +1025,8 @@ quotes.
|
||||
.Em none
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl svn.tag 37192
|
||||
svn.tag \\{\\"2006-02-17 15:30 +0230\\"\\}
|
||||
.Dl svn.revision 37192
|
||||
svn.revision \\{\\"2006-02-17 15:30 +0230\\"\\}
|
||||
.El
|
||||
.Ss FETCHING FROM GIT
|
||||
As an alternative to fetching distribution files, pulling the sources
|
||||
@@ -1172,32 +1237,30 @@ Selects a complete compiler suite to use. This option will override the compiler
|
||||
.Em gcc-3.3
|
||||
.Em gcc-4.0
|
||||
.Em gcc-4.2
|
||||
use the standard system compiler suites,
|
||||
.Em llvm-gcc-4.2
|
||||
.Em clang
|
||||
use the newer, non-default compilers installed by Xcode,
|
||||
.Em apple-gcc-3.3
|
||||
use the standard Xcode compiler suites,
|
||||
.Em apple-gcc-4.0
|
||||
.Em apple-gcc-4.2
|
||||
use Apple's gcc suite installed via MacPorts,
|
||||
.Em macports-gcc-3.3
|
||||
.Em macports-gcc-3.4
|
||||
.Em macports-gcc-4.0
|
||||
.Em macports-gcc-4.1
|
||||
.Em macports-gcc-4.2
|
||||
.Em macports-gcc-4.3
|
||||
.Em macports-gcc-4.4
|
||||
.Em macports-gcc-4.5
|
||||
use the vanilla gcc installed via MacPorts.
|
||||
.Em macports-gcc-4.6
|
||||
.Em macports-gcc-4.7
|
||||
.Em macports-gcc-4.8
|
||||
.Em macports-llvm-gcc-4.2
|
||||
use the vanilla compiler suites installed via MacPorts.
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Values:
|
||||
.Em gcc-3.3 gcc-4.0 gcc-4.2 llvm-gcc-4.2 clang apple-gcc-3.3 apple-gcc-4.0 apple-gcc-4.2 macports-gcc-3.3 macports-gcc-3.4 macports-gcc-4.0 macports-gcc-4.1 macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5
|
||||
.Em gcc-3.3 gcc-4.0 gcc-4.2 llvm-gcc-4.2 clang apple-gcc-4.0 apple-gcc-4.2 macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 macports-gcc-4.7 macports-gcc-4.8 macports-llvm-gcc-4.2
|
||||
.br
|
||||
.Sy Example:
|
||||
.Dl configure.compiler gcc-4.0
|
||||
.Dl configure.compiler llvm-gcc-4.2
|
||||
.\" FOOBAR
|
||||
.El
|
||||
.Ss UNIVERSAL TARGET HOOKS
|
||||
@@ -1611,8 +1674,8 @@ of check should be performed on distfiles:
|
||||
.It Ic livecheck.type
|
||||
What kind of check to perform to figure out if the software has been updated.
|
||||
Can be
|
||||
.Em freshmeat
|
||||
(uses the date_updated tag of the freshmeat XML file),
|
||||
.Em freecode
|
||||
(uses the date_updated tag of the freecode XML file),
|
||||
.Em sourceforge
|
||||
(uses the version of the latest file release of the project),
|
||||
.Em googlecode
|
||||
@@ -1636,19 +1699,19 @@ Can be
|
||||
or
|
||||
.Em googlecode
|
||||
if the master_sites is one of these, else
|
||||
.Em freshmeat
|
||||
.Em freecode
|
||||
.br
|
||||
.Sy Values:
|
||||
.Em freshmeat sourceforge googlecode moddate regex regexm md5 none
|
||||
.Em freecode sourceforge googlecode moddate regex regexm md5 none
|
||||
.It Ic livecheck.name
|
||||
Name of the project for live checks (used for freshmeat, sourceforge, and googlecode checks).
|
||||
Name of the project for live checks (used for freecode, sourceforge, and googlecode checks).
|
||||
.br
|
||||
.Sy Type:
|
||||
.Em optional
|
||||
.br
|
||||
.Sy Default:
|
||||
.Em ${name}
|
||||
or the sourceforge/freshmeat/googlecode project name if it can be guessed by looking at the master_sites.
|
||||
or the sourceforge/freecode/googlecode project name if it can be guessed by looking at the master_sites.
|
||||
.It Ic livecheck.distname
|
||||
Name of the file release (used for sourceforge and googlecode checks).
|
||||
For sourceforge releases use the name of the package release.
|
||||
@@ -1680,7 +1743,7 @@ URL to query for the check.
|
||||
.Sy Default:
|
||||
.Em ${homepage}
|
||||
or
|
||||
.Em http://freshmeat.net/projects-xml/${livecheck.name}/${livecheck.name}.xml
|
||||
.Em http://freecode.com/projects/${livecheck.name}/releases.atom
|
||||
or
|
||||
.Em http://sourceforge.net/export/rss2_projfiles.php?project=${livecheck.name}
|
||||
or
|
||||
@@ -1726,7 +1789,7 @@ Add a "gnome" variant to a port.
|
||||
.Bd -literal -offset indent -compact
|
||||
variant gnome requires glib { configure.args-append --with-gnome \e\
|
||||
|
||||
depends_lib-append lib:gnome-session:gnome-session }
|
||||
depends_lib-append port:gnome-session }
|
||||
.Ed
|
||||
.It Ic default_variants
|
||||
If variants are defined, then the
|
||||
@@ -1775,7 +1838,7 @@ versions of the same platform.
|
||||
.Xc
|
||||
The body is executed if the given platform/version/arch combination matches
|
||||
os.platform or os.subplatform and/or os.major and/or os.arch.
|
||||
The following examples are from the databases/db4 and devel/libidl1
|
||||
The following examples are from the lang/php5, audio/flac and sysutils/getopt
|
||||
.Nm Portfiles
|
||||
respectively.
|
||||
.br
|
||||
@@ -1784,19 +1847,17 @@ respectively.
|
||||
.br
|
||||
.Sy Example:
|
||||
.Bd -literal -offset indent -compact
|
||||
platform darwin 6 { configure.args-append --enable-tcl \e\
|
||||
|
||||
--with-tcl=/System/Library/Tcl/8.3 }
|
||||
platform darwin 10 { configure.env-append LIBS=-lresolv }
|
||||
.Ed
|
||||
.br
|
||||
.Sy Example:
|
||||
.Bd -literal -offset indent -compact
|
||||
platform darwin powerpc { configure.args-append \e\
|
||||
|
||||
--host=${os.arch}-apple-rhapsody${os.version} }
|
||||
platform darwin i386 { configure.args-append \e\
|
||||
|
||||
--host=i386-gnu-rhapsody${os.version} }
|
||||
platform darwin i386 { configure.args-append --disable-asm-optimizations }
|
||||
.Ed
|
||||
.br
|
||||
.Sy Example:
|
||||
.Bd -literal -offset indent -compact
|
||||
platform darwin 8 powerpc { configure.universal_ldflags-append -liconv }
|
||||
.Ed
|
||||
.El
|
||||
.Sh PORTGROUP
|
||||
@@ -2032,7 +2093,11 @@ Built-in command mimicking the BSD touch command.
|
||||
.It Ic ln
|
||||
.br
|
||||
Built-in command mimicking the BSD ln command.
|
||||
.It Ic system Ar commandline
|
||||
.It Xo
|
||||
.Ic system
|
||||
.Op Fl W Ar dir
|
||||
.Ar commandline
|
||||
.Xc
|
||||
Execute a program. See
|
||||
.Xr system 3 .
|
||||
For calls to
|
||||
@@ -2046,6 +2111,12 @@ For calls to
|
||||
or similar, please use the built-in commands or
|
||||
.Nm file
|
||||
if they don't meet your requirements.
|
||||
.Bl -tag -width indent
|
||||
.It Fl W
|
||||
Change to
|
||||
.Ar dir
|
||||
before working.
|
||||
.El
|
||||
.It Ic variant_isset Ar variant
|
||||
Checks if the given
|
||||
.Ar variant
|
||||
@@ -2098,10 +2169,10 @@ See
|
||||
.Xr mkdtemp 3 .
|
||||
.It Ic md5 Ar
|
||||
Compute the MD5 hashes of the file(s).
|
||||
.It Ic rpm-vercomp Ar versionA Ar versionB
|
||||
Compare two RPM-format versions for equality. The return value is like
|
||||
.It Ic vercmp Ar versionA Ar versionB
|
||||
Compare two EVR-format versions for equality. The return value is like
|
||||
strcmp(), returning -1, 0, or 1 when versionA is earlier, equal to, or
|
||||
later than versionB, respectively. Note that some comparisions featuring
|
||||
later than versionB, respectively. Note that some comparisons featuring
|
||||
floating-point notation may compare incorrectly, e.g. 2.101 is considered
|
||||
later than 2.2 (101 is larger than 2) which may be incorrect per some
|
||||
projects versioning methods (see ticket #11873).
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. Neither the name of Apple Computer, Inc. nor the names of its
|
||||
.\" 3. Neither the name of The MacPorts Project nor the names of its
|
||||
.\" contributors may be used to endorse or promote products derived from
|
||||
.\" this software without specific prior written permission.
|
||||
.\"
|
||||
|
||||
+4
-1
@@ -99,7 +99,10 @@ Where ports are built and destrooted
|
||||
.It Pa distfiles/
|
||||
Holds the distfiles of the fetched ports
|
||||
.It Pa receipts/
|
||||
Holds the registry information and receipts for the installed ports
|
||||
Obsolete. Formerly held the registry information and receipts for the installed ports,
|
||||
in flat-file format.
|
||||
.It Pa registry/
|
||||
Contains the registry database in sqlite format.
|
||||
.It Pa software/
|
||||
Holds compressed images of the installed ports. These
|
||||
are extracted to ${prefix} when activated.
|
||||
|
||||
@@ -240,20 +240,6 @@
|
||||
src
|
||||
..
|
||||
var
|
||||
macports
|
||||
build
|
||||
..
|
||||
distfiles
|
||||
..
|
||||
logs
|
||||
..
|
||||
packages
|
||||
..
|
||||
receipts
|
||||
..
|
||||
registry
|
||||
..
|
||||
..
|
||||
..
|
||||
www
|
||||
..
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user