source: branches/variant-descs-14482/base/configure.ac @ 37509

Last change on this file since 37509 was 37509, checked in by raimue@…, 12 years ago

Merged revisions 34872-37508 via svnmerge from
https://svn.macports.org/repository/macports/trunk/base

........

r34874 | raimue@… | 2008-03-10 01:04:09 +0100 (Mon, 10 Mar 2008) | 4 lines


port1.0/portlivecheck.tcl:
Fix livecheck for ports using customized ${livecheck.version}.
Thanks to Simon Ruderich for the report.

........

r34875 | eridius@… | 2008-03-10 05:50:45 +0100 (Mon, 10 Mar 2008) | 2 lines


Add support for fetch.type git (Fixes #14232)

........

r34885 | raimue@… | 2008-03-10 14:30:18 +0100 (Mon, 10 Mar 2008) | 3 lines


ChangeLog:
New fetch.type git

........

r34886 | eridius@… | 2008-03-10 14:38:11 +0100 (Mon, 10 Mar 2008) | 2 lines


Add reference to #14232 to the ChangeLog

........

r34887 | afb@… | 2008-03-10 14:46:16 +0100 (Mon, 10 Mar 2008) | 2 lines


update changelog, #13968

........

r34901 | raimue@… | 2008-03-10 17:24:07 +0100 (Mon, 10 Mar 2008) | 3 lines


port1.0/portmain.tcl:
Add a variant description for the built-in +universal

........

r34977 | eridius@… | 2008-03-13 15:13:51 +0100 (Thu, 13 Mar 2008) | 2 lines


Add new --recursive option to port uninstall to uninstall dependents (#14637)

........

r35030 | ryandesign@… | 2008-03-15 00:49:07 +0100 (Sat, 15 Mar 2008) | 2 lines


fix typos: "the the" => "the"

........

r35042 | eridius@… | 2008-03-15 15:30:32 +0100 (Sat, 15 Mar 2008) | 2 lines


Fix recursive uninstall for case where multiple branches of dep tree contain the same port

........

r35103 | raimue@… | 2008-03-17 15:33:01 +0100 (Mon, 17 Mar 2008) | 4 lines


HACKING:

  • Replace 'filetype' by shorter 'ft' in vim modeline
  • Remove trailing whitespace

........

r35138 | afb@… | 2008-03-18 09:57:09 +0100 (Tue, 18 Mar 2008) | 2 lines


put applications_dir and frameworks_dir in global variables

........

r35139 | afb@… | 2008-03-18 10:04:27 +0100 (Tue, 18 Mar 2008) | 2 lines


mention tcldoc/tcldox in changelog

........

r35140 | afb@… | 2008-03-18 10:12:53 +0100 (Tue, 18 Mar 2008) | 2 lines


mention default MDT in changelog

........

r35171 | afb@… | 2008-03-19 09:59:44 +0100 (Wed, 19 Mar 2008) | 2 lines


use applications_dir and frameworks_dir instead of hardcoded paths

........

r35195 | afb@… | 2008-03-20 10:22:41 +0100 (Thu, 20 Mar 2008) | 2 lines


fix typo in workaround (interactive installs are evil)

........

r35196 | afb@… | 2008-03-20 10:24:39 +0100 (Thu, 20 Mar 2008) | 2 lines


use explicit external tclthread/sqlite3/gnuobjc/gnustep for configure

........

r35211 | wsiegrist@… | 2008-03-21 01:35:36 +0100 (Fri, 21 Mar 2008) | 2 lines


Use proper mail headers. Also cleaned up some variable case and layout weirdness

........

r35249 | wsiegrist@… | 2008-03-22 06:22:09 +0100 (Sat, 22 Mar 2008) | 2 lines


Add distfiles command for listing each distfile for a given port spec and the list of URLs that fetch will use. This will eventually be used for distfile mirroring.

........

r35256 | wsiegrist@… | 2008-03-22 23:18:17 +0100 (Sat, 22 Mar 2008) | 2 lines


added checksum display and an early exit when master_sites is not provided

........

r35257 | wsiegrist@… | 2008-03-22 23:31:11 +0100 (Sat, 22 Mar 2008) | 2 lines


added distfiles to port manpage

........

r35279 | epimenov@… | 2008-03-23 21:46:32 +0100 (Sun, 23 Mar 2008) | 5 lines


Tracelib


1) I allow /Developer, not only /Developer/Headers. Because Xcode 3.1 (aka iPhone SDK) uses a lot of stuff here. It can't compile without /Developer/Platform/MacOSX.platform for example. Also SDK redirection will not work with Xcode 3.1. Also it introduce ablitity to change /Developer folder, so we should handle this somehow.
2) Also this commit fixes issue with recv overflow. If you run xcodebuild with old rules you'll see a lot of sandbox viloations (xcode scans for plugins, platforms and so on), and you'll see malformed commands. It happens when tracelib sends more than 1024 bytes of data. Now it properly handled.

........

r35299 | wsiegrist@… | 2008-03-24 23:50:32 +0100 (Mon, 24 Mar 2008) | 2 lines


Add distfiles target to port. This should have gone in with r35249.

........

r35474 | wsiegrist@… | 2008-03-29 02:33:33 +0100 (Sat, 29 Mar 2008) | 3 lines


Made checkouts non-recursive since lint doesnt rely on actual files/ contents.
Added logging to help debug things server side.

........

r35476 | wsiegrist@… | 2008-03-29 02:48:25 +0100 (Sat, 29 Mar 2008) | 2 lines


Emails now go to both committer and maintainers

........

r35606 | jmr@… | 2008-03-31 03:12:12 +0200 (Mon, 31 Mar 2008) | 2 lines


sort the list of mirror groups like the comment says

........

r35630 | raimue@… | 2008-04-01 00:13:05 +0200 (Tue, 01 Apr 2008) | 3 lines


macports1.0/macports.tcl:
Error out if syncing a source failed, but continue instead of returning an error code

........

r35643 | jmr@… | 2008-04-01 13:05:03 +0200 (Tue, 01 Apr 2008) | 2 lines


Fix or remove broken mirrors.

........

r35644 | jmr@… | 2008-04-01 13:51:46 +0200 (Tue, 01 Apr 2008) | 2 lines


List master download sites last.

........

r35647 | raimue@… | 2008-04-01 15:09:48 +0200 (Tue, 01 Apr 2008) | 5 lines


macports1.0/macports.tcl:
Implement fetching of daily snapshot tarballs as an alternative to rsync.
Just add the following line to sources.conf instead of rsync:
http://macports.org/files/ports.tar.gz

........

r35648 | raimue@… | 2008-04-01 15:48:23 +0200 (Tue, 01 Apr 2008) | 4 lines


port/port.tcl, macports/macports.tcl:

  • Pass optional $optionslist to mportsync
  • Only sync daily snapshot if the tarball is newer than the local ports directory

........

r35649 | raimue@… | 2008-04-01 15:52:20 +0200 (Tue, 01 Apr 2008) | 3 lines


ChangeLog:
Fetching of daily snapshot tarballs of the ports tree as an alternative to rsync

........

r35654 | jmr@… | 2008-04-01 18:05:15 +0200 (Tue, 01 Apr 2008) | 2 lines


Add some new mirror sites.

........

r35675 | raimue@… | 2008-04-02 01:27:08 +0200 (Wed, 02 Apr 2008) | 3 lines


port1.0/portutil.tcl:
tracemode: always allow gzip in destroot phase, as it is used to compress man pages

........

r35714 | jmr@… | 2008-04-03 23:14:14 +0200 (Thu, 03 Apr 2008) | 2 lines


fix typo

........

r35748 | jmr@… | 2008-04-04 21:58:24 +0200 (Fri, 04 Apr 2008) | 2 lines


Try mirrors in ascending order of ping time in fetch.

........

r35749 | jmr@… | 2008-04-04 22:09:59 +0200 (Fri, 04 Apr 2008) | 2 lines


Add full modeline to portfetch.tcl.

........

r35750 | jmr@… | 2008-04-04 22:20:05 +0200 (Fri, 04 Apr 2008) | 2 lines


ChangeLog: fetch prefers mirrors with lower ping times.

........

r35772 | eridius@… | 2008-04-05 20:39:49 +0200 (Sat, 05 Apr 2008) | 2 lines


Get rid of all usage of _cd and [exec find ...] in ruby-1.0.tcl

........

r35773 | eridius@… | 2008-04-05 21:00:12 +0200 (Sat, 05 Apr 2008) | 2 lines


ruby.setup now takes type "fetch" for just fetch/extract. Thanks to Mr_Bond for the patch

........

r35790 | raimue@… | 2008-04-06 21:00:49 +0200 (Sun, 06 Apr 2008) | 4 lines


port1.0/portutil.tcl:
Avoid parsing Portfiles multiple times in recursive_collect_deps.
This makes tracemode a lot faster if there are many deps.

........

r35806 | raimue@… | 2008-04-07 01:40:58 +0200 (Mon, 07 Apr 2008) | 7 lines


port1.0/portfetch.tcl:
Move checkfiles from fetch_init to fetch_start:

  • Assemble fetch URLs only when needed
  • Do not ping servers if not actually fetching


Reverted in r36734.

........

r35807 | raimue@… | 2008-04-07 01:43:32 +0200 (Mon, 07 Apr 2008) | 4 lines


ChangeLog:
Add r35806,

  • Do not ping servers if not actually fetching

........

r35808 | jmr@… | 2008-04-07 02:26:39 +0200 (Mon, 07 Apr 2008) | 2 lines


Only call sortsites when we actually need to fetch something.

........

r35809 | raimue@… | 2008-04-07 03:26:42 +0200 (Mon, 07 Apr 2008) | 3 lines


ChangeLog:
Another ping related change

........

r35812 | raimue@… | 2008-04-07 04:09:22 +0200 (Mon, 07 Apr 2008) | 3 lines


doc/Makefile:
Compress man pages before installation, see #14668.

........

r35929 | jmr@… | 2008-04-10 10:29:46 +0200 (Thu, 10 Apr 2008) | 2 lines


Account for the space between words in length calculation when wrapping lines.

........

r35970 | afb@… | 2008-04-11 23:33:16 +0200 (Fri, 11 Apr 2008) | 2 lines


add missing global variable declaration

........

r35975 | jmr@… | 2008-04-12 08:17:27 +0200 (Sat, 12 Apr 2008) | 2 lines


remove keywords property from binary file

........

r36002 | jkh@… | 2008-04-14 06:07:30 +0200 (Mon, 14 Apr 2008) | 3 lines


Pick a reasonable default for people without EDITOR set, following existing
precedent for editor escapes.

........

r36127 | markd@… | 2008-04-19 03:46:17 +0200 (Sat, 19 Apr 2008) | 2 lines


Add comments for binpath.

........

r36160 | raimue@… | 2008-04-20 03:47:23 +0200 (Sun, 20 Apr 2008) | 3 lines


registry1.0/portuninstall.tcl:
Rename --recursive to --follow-dependents

........

r36285 | eridius@… | 2008-04-25 16:46:00 +0200 (Fri, 25 Apr 2008) | 2 lines


Make the auto-lint script catch errors too, not just warnings

........

r36379 | raimue@… | 2008-04-29 05:29:37 +0200 (Tue, 29 Apr 2008) | 3 lines


base/src:
Adapting $portname @$version notation

........

r36500 | raimue@… | 2008-05-04 19:09:55 +0200 (Sun, 04 May 2008) | 4 lines


cregistry/registry.c:
Fix build error. dirname(3) might change the passed argument, therefore we need
to strdup() the const char *path first.

........

r36501 | raimue@… | 2008-05-04 20:18:13 +0200 (Sun, 04 May 2008) | 3 lines


base/src:
Addition to r36379, Adapting $portname @$version notation

........

r36545 | jmr@… | 2008-05-06 07:23:54 +0200 (Tue, 06 May 2008) | 2 lines


_libtest: add /usr/X11/lib to search_path in case the /usr/X11R6 link goes away in future

........

r36640 | afb@… | 2008-05-09 09:00:28 +0200 (Fri, 09 May 2008) | 2 lines


always edit scripts, just in case user changed their mind and reconfigured

........

r36648 | jmr@… | 2008-05-09 11:43:47 +0200 (Fri, 09 May 2008) | 2 lines


mportdepends: make sure we always error out on nonexistent ports

........

r36656 | jmr@… | 2008-05-09 18:02:15 +0200 (Fri, 09 May 2008) | 2 lines


ruby portgroup: make doc install in post-destroot actually work

........

r36679 | jmr@… | 2008-05-11 10:18:24 +0200 (Sun, 11 May 2008) | 4 lines


fetch_init, archive_init, unarchive_init:
Avoid creating too many subdirectory levels when these procedures are called
more than once. Fix for #11971.

........

r36687 | jmr@… | 2008-05-12 00:01:57 +0200 (Mon, 12 May 2008) | 2 lines


back out the fetch part of r36679, as it breaks other phases

........

r36688 | jmr@… | 2008-05-12 00:37:38 +0200 (Mon, 12 May 2008) | 2 lines


simpler, working fix for #11971.

........

r36708 | ryandesign@… | 2008-05-13 05:27:25 +0200 (Tue, 13 May 2008) | 2 lines


Allow distfiles to be disk images with new "use_dmg yes" port option; #13509.

........

r36709 | ryandesign@… | 2008-05-13 05:28:43 +0200 (Tue, 13 May 2008) | 2 lines


ChangeLog: whitespace changes only

........

r36710 | ryandesign@… | 2008-05-13 05:29:24 +0200 (Tue, 13 May 2008) | 2 lines


ChangeLog: whitespace changes only

........

r36711 | ryandesign@… | 2008-05-13 05:34:13 +0200 (Tue, 13 May 2008) | 4 lines


ChangeLog: add info about 'use_dmg yes' option from r36708; #13509


The change to PortIndex2MySQL.tcl was not intended and was reverted in r36712.

........

r36712 | ryandesign@… | 2008-05-13 05:35:20 +0200 (Tue, 13 May 2008) | 2 lines


PortIndex2MySQL.tcl: revert change inadvertently committed in r36711

........

r36719 | afb@… | 2008-05-13 13:04:28 +0200 (Tue, 13 May 2008) | 2 lines


add unsetenv command, for working around bugs in Leopard tcl

........

r36722 | afb@… | 2008-05-13 13:21:41 +0200 (Tue, 13 May 2008) | 2 lines


explicitly unset all env vars (an extra time), to work around Leopard Tcl bugs (#13930 and friends)

........

r36723 | afb@… | 2008-05-13 13:32:11 +0200 (Tue, 13 May 2008) | 2 lines


add patch needed for Leopard, to the included tclthread (#13495)

........

r36724 | afb@… | 2008-05-13 13:34:05 +0200 (Tue, 13 May 2008) | 2 lines


update changelog, #13930 #13495

........

r36728 | afb@… | 2008-05-13 13:47:16 +0200 (Tue, 13 May 2008) | 2 lines


test the env CC problem explicitly

........

r36734 | raimue@… | 2008-05-13 15:41:48 +0200 (Tue, 13 May 2008) | 4 lines


port1.0/portfetch.tcl:
Revert r35806. The checkfiles proc must always be run as the checksum phase depends on
global variables from there.

........

r36735 | jmr@… | 2008-05-13 15:43:23 +0200 (Tue, 13 May 2008) | 3 lines


In image mode, don't count dependencies as being satisfied when the satisfying
port is not active. Fix for #7361.

........

r36736 | markd@… | 2008-05-13 21:15:11 +0200 (Tue, 13 May 2008) | 2 lines


Fix hardcoded paths in binpath comments.

........

r36745 | jmr@… | 2008-05-14 05:22:56 +0200 (Wed, 14 May 2008) | 2 lines


Prevent duplicate dep_map entries from being inserted. Fix for #8763.

........

r36747 | jmr@… | 2008-05-14 06:53:20 +0200 (Wed, 14 May 2008) | 3 lines


uninstall: allow unforced removal of a port with dependents, iff it is
inactive and there is at least one other version of the same port installed.

........

r36750 | jmr@… | 2008-05-14 07:17:05 +0200 (Wed, 14 May 2008) | 2 lines


update changelog

........

r36762 | jmr@… | 2008-05-14 10:48:55 +0200 (Wed, 14 May 2008) | 4 lines


upgrade: if the latest installed version of a port is not active, deactivate
the currently active version, if any, before trying to activate the latest
version. Fix for #12013.

........

r36764 | jmr@… | 2008-05-14 11:11:07 +0200 (Wed, 14 May 2008) | 3 lines


Reworked the handling of the default universal variant. We can now avoid
adding it at all when we know it won't work. Fix for #12170.

........

r36765 | ryandesign@… | 2008-05-14 11:36:20 +0200 (Wed, 14 May 2008) | 2 lines


Fix comment: universal support requires the universal SDK be installed

........

r36770 | afb@… | 2008-05-14 13:08:23 +0200 (Wed, 14 May 2008) | 2 lines


only edit when reconfigured, always is not needed

........

r36771 | jmr@… | 2008-05-14 13:34:23 +0200 (Wed, 14 May 2008) | 2 lines


update changelog

........

r36773 | afb@… | 2008-05-14 13:49:20 +0200 (Wed, 14 May 2008) | 2 lines


include epoch in archive

........

r36774 | afb@… | 2008-05-14 13:57:44 +0200 (Wed, 14 May 2008) | 2 lines


create destroot for archive +JUNK, even if there are no files

........

r36800 | raimue@… | 2008-05-15 02:36:20 +0200 (Thu, 15 May 2008) | 4 lines


port1.0/portutil.tcl:
Put checks for universal SDK in the default +universal variant into a pre-fetch
block to avoid breaking commands like port info +universal.

........

r36801 | raimue@… | 2008-05-15 02:55:33 +0200 (Thu, 15 May 2008) | 3 lines


doc/macports.conf.in:
Be more clear about the startupitem_type option.

........

r36880 | jmr@… | 2008-05-17 08:25:29 +0200 (Sat, 17 May 2008) | 2 lines


add an xorg mirror group

........

r36890 | afb@… | 2008-05-17 10:38:01 +0200 (Sat, 17 May 2008) | 2 lines


don't include build.nice and build.jobs in destroot.cmd, only in the build.cmd (#15295)

........

r36904 | afb@… | 2008-05-18 10:11:44 +0200 (Sun, 18 May 2008) | 2 lines


update changelog for r36890

........

r36905 | afb@… | 2008-05-18 10:28:46 +0200 (Sun, 18 May 2008) | 2 lines


add fetch.remote_time for curl --remote-time (#12629)

........

r36907 | nox@… | 2008-05-18 14:00:46 +0200 (Sun, 18 May 2008) | 2 lines


merge procedure now uses configure.universal_archs

........

r36909 | afb@… | 2008-05-18 18:50:36 +0200 (Sun, 18 May 2008) | 2 lines


update documentation, from r36890

........

r36913 | afb@… | 2008-05-18 20:32:16 +0200 (Sun, 18 May 2008) | 2 lines


better fix for #15295, restore build.cmd to sanity

........

r36914 | afb@… | 2008-05-18 20:35:37 +0200 (Sun, 18 May 2008) | 2 lines


restore previous destroot.cmd, undo build.cmd workaround

........

r36915 | afb@… | 2008-05-18 20:47:10 +0200 (Sun, 18 May 2008) | 2 lines


oops, nice was applied to cd instead of make

........

r36959 | jmr@… | 2008-05-21 12:27:53 +0200 (Wed, 21 May 2008) | 2 lines


Add a CTAN mirror group.

........

r37023 | afb@… | 2008-05-23 11:59:26 +0200 (Fri, 23 May 2008) | 2 lines


sqlite3-threads port was removed, sqlite3 port threads are enabled by default

........

r37046 | jmr@… | 2008-05-24 16:24:54 +0200 (Sat, 24 May 2008) | 6 lines


upgrade: when following dependents (-R), only upgrade the dependents of the
specified port, not those of all its dependencies as well. Also use the
depscache for dependents as well as dependencies. These changes reduce the
amount of work done by 'port -R upgrade', by an enormous amount in some cases.
Fixes #10827.

........

r37047 | jmr@… | 2008-05-24 16:41:50 +0200 (Sat, 24 May 2008) | 2 lines


Update changelog for r37046.

........

r37070 | afb@… | 2008-05-25 11:09:08 +0200 (Sun, 25 May 2008) | 2 lines


need to look at build.cmd, not default getmaketype (#15426)

........

r37118 | raimue@… | 2008-05-27 00:37:25 +0200 (Tue, 27 May 2008) | 4 lines


port/port.tcl:
In opUnion: add items only once to the result as it was meant to be.
Fixes #15433.

........

r37119 | raimue@… | 2008-05-27 01:59:56 +0200 (Tue, 27 May 2008) | 5 lines


port/port.tcl:
port search looks now in name, description and long_description for the search
pattern and prints the list sorted.
Fixes #15434.

........

r37120 | raimue@… | 2008-05-27 02:05:08 +0200 (Tue, 27 May 2008) | 2 lines


Update ChangeLog for r15434

........

r37121 | raimue@… | 2008-05-27 02:12:46 +0200 (Tue, 27 May 2008) | 3 lines


port/port.tcl:
Fix number of ports found in port search

........

r37122 | raimue@… | 2008-05-27 02:16:34 +0200 (Tue, 27 May 2008) | 2 lines


Update ChangeLog for r37121

........

r37217 | jmr@… | 2008-05-30 14:12:21 +0200 (Fri, 30 May 2008) | 2 lines


Add our new distfile mirror (distfiles.macports.org) and automatically append it to master_sites.

........

r37218 | jmr@… | 2008-05-30 14:21:32 +0200 (Fri, 30 May 2008) | 2 lines


update changelog for r37217

........

r37231 | raimue@… | 2008-05-31 19:28:34 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
Add a list of arguments the commands accept

........

r37232 | raimue@… | 2008-05-31 19:33:00 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
Check if an action is valid before parsing its arguments

........

r37233 | raimue@… | 2008-05-31 20:11:45 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
Remove unused variable

........

r37238 | raimue@… | 2008-05-31 22:03:34 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
Only expand portlist when needed

........

r37240 | raimue@… | 2008-05-31 22:20:27 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
If the 'current' port does not expand to any port, return an error

........

r37241 | raimue@… | 2008-05-31 22:36:51 +0200 (Sat, 31 May 2008) | 7 lines


port/port.tcl:
Do some half-intelligent string matching for port search.
If the specified search string already contained an *, use it as direct glob
expression, otherwise add * around the search string.


As an example see how the output from 'port search less' and 'port search less*' differs.

........

r37242 | raimue@… | 2008-05-31 23:12:13 +0200 (Sat, 31 May 2008) | 3 lines


port/port.tcl:
Output a nice usage list of arguments on port help <action>

........

r37243 | raimue@… | 2008-05-31 23:57:15 +0200 (Sat, 31 May 2008) | 3 lines


port/port-help.tcl:
More helpful action desriptions

........

r37244 | raimue@… | 2008-06-01 01:07:53 +0200 (Sun, 01 Jun 2008) | 3 lines


port/port.tcl:
Correct the list of arguments for the commands and sort each of them

........

r37247 | raimue@… | 2008-06-01 04:53:03 +0200 (Sun, 01 Jun 2008) | 3 lines


port/port.tcl:
Enable multiple arguments for --options

........

r37248 | raimue@… | 2008-06-01 04:59:15 +0200 (Sun, 01 Jun 2008) | 4 lines


port/port.tcl:
Re-add --info and --index for port info which got lost in previous attempts to
complete the list

........

r37249 | raimue@… | 2008-06-01 06:20:31 +0200 (Sun, 01 Jun 2008) | 3 lines


port/port.tcl:
Rework the previous action array

........

r37251 | raimue@… | 2008-06-01 06:52:50 +0200 (Sun, 01 Jun 2008) | 3 lines


port/port.tcl:
Remove hardcoded values and use action_args_const instead

........

r37253 | raimue@… | 2008-06-01 07:12:23 +0200 (Sun, 01 Jun 2008) | 4 lines


port/port.tcl:
port usage <action> gives the basic usage as in port help <action> on the top
Removed hardcoded values and use action_args_const instead

........

r37254 | raimue@… | 2008-06-01 07:22:03 +0200 (Sun, 01 Jun 2008) | 3 lines


port/port.tcl:
Fix output on occurrences of proc wrap

........

r37255 | jmr@… | 2008-06-01 08:27:45 +0200 (Sun, 01 Jun 2008) | 2 lines


The distfile mirror does in fact have patchfiles as well, so append it to patch_sites.

........

r37264 | raimue@… | 2008-06-02 01:09:49 +0200 (Mon, 02 Jun 2008) | 3 lines


test/Makefile:
Add missing definition of $(PWD)

........

r37265 | raimue@… | 2008-06-02 01:11:10 +0200 (Mon, 02 Jun 2008) | 4 lines


tests/Makefile:
test-port.conf was renamed to test-macports.conf in r25535,
but was not changed in the Makefile

........

r37266 | raimue@… | 2008-06-02 01:13:04 +0200 (Mon, 02 Jun 2008) | 3 lines


test/test/cvs-and-patchfiles:
Use a working CVS server for the test

........

r37267 | raimue@… | 2008-06-02 01:21:39 +0200 (Mon, 02 Jun 2008) | 4 lines


tests/:
case-insensitive-deactivate can now be invoked from the test framework:

sudo make test TESTS=case-insensitive-deactivate

........

r37268 | raimue@… | 2008-06-02 01:27:34 +0200 (Mon, 02 Jun 2008) | 3 lines


port/port.tcl:
Errors should go to stderr

........

r37269 | raimue@… | 2008-06-02 01:34:43 +0200 (Mon, 02 Jun 2008) | 5 lines


port/port.tcl:
Output an empty field instead of nothing in port info if the requested
field is not specified for the port. This makes is easier to parse the output,
if needed.

........

r37270 | raimue@… | 2008-06-02 02:05:20 +0200 (Mon, 02 Jun 2008) | 3 lines


tests/test/dependencies_c:
Fix dependency check, new @version notation

........

r37271 | raimue@… | 2008-06-02 02:06:59 +0200 (Mon, 02 Jun 2008) | 4 lines


tests/test/universal{,-2}:
Use port info --variants to check for the variant instead of the whole info
output. Should be more error prone if we make further changes.

........

r37290 | raimue@… | 2008-06-02 17:05:26 +0200 (Mon, 02 Jun 2008) | 5 lines


port/port.tcl:
Add a new option --line to port search.
This works a little bit like the old output of port search in 1.6.1, but uses
tabs to separate fields instead of hardcoded spaces (easy parsing with awk or similar).

........

r37314 | raimue@… | 2008-06-03 00:10:22 +0200 (Tue, 03 Jun 2008) | 3 lines


port/port.tcl:
Make port mirror --new available again.

........

r37315 | raimue@… | 2008-06-03 00:45:18 +0200 (Tue, 03 Jun 2008) | 2 lines


Update the ChangeLog

........

r37316 | raimue@… | 2008-06-03 01:37:43 +0200 (Tue, 03 Jun 2008) | 5 lines


port/port.tcl, macports1.0/macports.tcl:
Use current terminal size instead of a hardcoded width. This uses the COLUMNS
environment variable which therefore should be preserved by the env cleanup in
macports.tcl. See #15488.

........

r37336 | jmr@… | 2008-06-03 21:06:00 +0200 (Tue, 03 Jun 2008) | 3 lines


Python portgroups: fix incorrect python.include paths, and add a new variable
python.libdir (#15226)

........

r37349 | jmr@… | 2008-06-04 10:32:15 +0200 (Wed, 04 Jun 2008) | 8 lines


Try to be case-insensitive and case-preserving with port names as much as
possible. Match names case-insensitively in the registry (previously this was
not done when running on a case-sensitive FS), but return the name with its
correct case. Additionally, make sure to use the correctly-cased name whenever
possible, where previously the name as entered by the user was used. This
changeset fixes the bug where giving the port name with incorrect case when
deactivating would fail to delete the port's files from $prefix (#11759).

........

r37373 | raimue@… | 2008-06-05 02:08:35 +0200 (Thu, 05 Jun 2008) | 4 lines


port/port.tcl:
Add new option --depends to port info,
which is a shorthand for --depends_bin --depends_lib --depends_build

........

r37386 | raimue@… | 2008-06-05 12:31:37 +0200 (Thu, 05 Jun 2008) | 3 lines


port/port.tcl:
port provides was broken by r37238, closes #15515.

........

r37433 | jmr@… | 2008-06-07 17:54:47 +0200 (Sat, 07 Jun 2008) | 7 lines


upgrade: refactor handling of dependencies

  • depscache entries are now added by the callee instead of the caller
  • a 'port:' entry is always added if the port is installed
  • a 'port:' entry in the cache immediately satisfies other depspecs involving that port
  • factored out redundant code for different depends_* types

Fixes #15520.

........

r37442 | jmr@… | 2008-06-08 01:28:20 +0200 (Sun, 08 Jun 2008) | 3 lines


Make uninstalling the old version of a port during upgrade work without -f,
whether due to -u, epoch override, or being in direct mode.

........

r37453 | jmr@… | 2008-06-08 14:39:45 +0200 (Sun, 08 Jun 2008) | 3 lines


Check depends_build before configure phase, and check dependencies before
alll packaging targets. This is a step towards fixing #15161.

........

r37501 | afb@… | 2008-06-10 11:31:54 +0200 (Tue, 10 Jun 2008) | 2 lines


make missing sed extended regexp into a run-time error instead of configure-time

........

r37502 | afb@… | 2008-06-10 11:41:07 +0200 (Tue, 10 Jun 2008) | 2 lines


update changelog, #15577/r37501

........

r37503 | afb@… | 2008-06-10 12:02:33 +0200 (Tue, 10 Jun 2008) | 2 lines


stop abusing command_exec filter/redirect arguments for build nice/jobs, and improve debugging output (#15530)

........

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 12.1 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl $Id: configure.ac 37509 2008-06-10 14:48:05Z raimue@macports.org $
3AC_PREREQ(2.52)
4AC_DEFUN([MACPORTS_VERSION_MACRO], [esyscmd(cat config/macports_version | tr -d '\n')])
5AC_INIT([MacPorts], [MACPORTS_VERSION_MACRO], [macports-dev@lists.macosforge.org], [macports])
6AC_CONFIG_SRCDIR([src/pextlib1.0/Pextlib.c])
7AC_CONFIG_HEADERS([src/config.h])
8AC_CANONICAL_SYSTEM
9
10# Read in the MacPorts version from the base/config/macports_vesion file
11AC_MSG_CHECKING(MacPorts version)
12MACPORTS_VERSION=MACPORTS_VERSION_MACRO
13AC_MSG_RESULT([$MACPORTS_VERSION])
14AC_SUBST(MACPORTS_VERSION)
15# Read the old, floating point format version, which we still use internally, and export it for the $macports::autoconf::macports_version variable
16MP_VERSION=$(cat config/mp_version | tr -d '\n')
17AC_SUBST(MP_VERSION)
18
19# Check user PATH for MP paths, and remove as necessary.
20MP_PATH_SCAN
21
22AC_CHECK_PROGS(SW_VERS, sw_vers)
23if test "x$SW_VERS" != "x"; then
24  AC_MSG_CHECKING(Mac OS X version)
25  MACOSX_VERSION=`$SW_VERS -productVersion | cut -f 1-3 -d.`
26  AC_MSG_RESULT([$MACOSX_VERSION])
27fi
28
29case "$MACOSX_VERSION" in
30  10.0*|10.1*|10.2*)
31    AC_WARN(This version of Mac OS X is not supported)
32    AC_WARN(Please upgrade at http://store.apple.com/)
33    ;;
34  10.1.[[0-4]]|10.2.[[0-7]]|10.3.[[0-8]]|10.4.[[0-8]])
35    AC_WARN(This version of Mac OS X is out of date)
36    AC_WARN(Please run Software Update to update it)
37    ;;
38  10.3*|10.4*|10.5*)
39    dnl Supported version
40    ;;
41  *)
42    ;;
43esac
44
45XCODEPLIST=/Developer/Applications/Xcode.app/Contents/version.plist
46if test -r "$XCODEPLIST"; then
47  AC_MSG_CHECKING(Xcode version)
48  XCODE_VERSION=`tr -d '\r\n' < $XCODEPLIST | sed -e 's/.*<key>CFBundleShortVersionString<\/key>.<string>\([[0-9.]]*\)<\/string>.*/\1/'`
49  AC_MSG_RESULT([$XCODE_VERSION])
50fi
51
52case "$XCODE_VERSION" in
53  1.[[0-1]]*|2.[[0-1]]*)
54    AC_WARN(This version of Xcode Tools is not supported)
55    AC_WARN(Please upgrade at http://connect.apple.com/)
56    ;;
57  1.[[2-4]]*|2.[[2-3]]*)
58    AC_WARN(This version of Xcode Tools is out of date)
59    AC_WARN(Please consider upgrading as some ports fail compiling)
60    ;;
61  1.5*|2.4*|3.*)
62    dnl Supported version
63    ;;
64  *)
65    ;;
66esac
67
68# Checks for programs.
69AC_PROG_CC
70AC_PROG_OBJC
71AC_PROG_INSTALL
72AC_PROG_MAKE_SET
73AC_PROG_LN_S
74AC_PATH_PROG(MTREE, [mtree], [], [$PATH:/usr/sbin])
75AC_PATH_PROG(CVS, [cvs], [])
76AC_PATH_PROG(SVN, [svn], [])
77AC_PATH_PROG(GIT, [git], [])
78AC_PATH_PROG(RSYNC, [rsync], [])
79AC_PATH_PROG(SED, [sed])
80AC_PATH_PROG(TAR, [tar])
81AC_PATH_PROG(MAKE, [make])
82AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
83AC_PATH_PROG(LAUNCHCTL, [launchctl], [])
84AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
85AC_PATH_PROGS(GNUTAR, [gnutar gtar], [], [$PATH:/usr/local/bin])
86AC_PATH_PROGS(GNUMAKE, [gnumake gmake], [], [$PATH:/usr/local/bin])
87AC_PATH_PROG(BZIP2, [bzip2], [])
88AC_PATH_PROG(XAR, [xar], [])
89AC_PATH_PROG(OPEN, [open], [])
90
91# Define some precious variables allowing user to override PATH for some programs
92AC_ARG_VAR(MTREE, [path to mtree command])
93AC_ARG_VAR(CVS, [path to cvs command])
94AC_ARG_VAR(SVN, [path to svn command])
95AC_ARG_VAR(RSYNC, [path to rsync command])
96AC_ARG_VAR(SED, [path to sed command])
97AC_ARG_VAR(TAR, [path to tar command])
98AC_ARG_VAR(MAKE, [path to make command])
99AC_ARG_VAR(GNUTAR, [path to gnutar command])
100AC_ARG_VAR(GNUMAKE, [path to gnumake command])
101AC_ARG_VAR(BZIP2, [path to bzip2 command])
102AC_ARG_VAR(XAR, [path to xar command])
103AC_ARG_VAR(OPEN, [path to open command])
104
105MP_SED_EXTENDED_REGEXP
106MP_TAR_NO_SAME_OWNER
107
108# Quiche eaters options.
109if test x$GCC = xyes; then
110        CFLAGS_QUICHEEATERS='-W -Wall -pedantic'
111fi
112AC_SUBST(CFLAGS_QUICHEEATERS)
113MP_WERROR
114
115MP_COMPILER_ATTRIBUTE_UNUSED
116MP_COMPILER_ATTRIBUTE_LF_PRIVATE
117
118# Foundation checks
119ACX_PTHREAD
120MP_OBJC_RUNTIME
121MP_OBJC_FOUNDATION
122
123MP_PROG_DAEMONDO
124#MP_PROG_XAR
125
126AC_SUBST(REPLACEMENT_PROGS)
127AC_SUBST(EXTRA_PROGS)
128
129# set default ports-directory
130PORTS_DIR_DEFAULT=`pwd | sed -e "s/base/ports/"`
131
132# Check for paths
133AC_PREFIX_DEFAULT(/opt/local)
134MP_PATH_PORTSDIR([$PORTS_DIR_DEFAULT])
135MP_PATH_MPCONFIGDIR
136
137# Check for install ownership
138MP_CHECK_INSTALLUSER
139MP_CHECK_INSTALLGROUP
140MP_DIRECTORY_MODE
141
142# Check for default directories
143MP_PATH_APPLICATIONS
144MP_PATH_FRAMEWORKS
145
146# Check for universal options
147MP_UNIVERSAL_OPTIONS
148
149# Check for standard header files.
150AC_HEADER_STDC
151AC_HEADER_DIRENT
152AC_HEADER_SYS_WAIT
153AC_HEADER_STAT
154AC_CHECK_HEADERS([limits.h paths.h sys/file.h crt_externs.h fcntl.h sys/fcntl.h sys/cdefs.h err.h libgen.h sys/socket.h \
155        readline/readline.h readline/history.h pwd.h sys/paths.h utime.h])
156
157INCLUDES="-I.. -I. $INCLUDES"
158
159# Checks for library functions.
160AC_FUNC_CLOSEDIR_VOID
161AC_FUNC_FORK
162AC_FUNC_STRERROR_R
163AC_CHECK_FUNCS([bzero memset dup2 regcomp strdup strerror strtol fgetln lockf flock setmode strcasecmp strncasecmp strlcpy copyfile])
164MP_CHECK_READLINK_IS_P1003_1A
165
166AC_ARG_WITH(x11-prefix, [AC_HELP_STRING([--with-x11-prefix=PREFIX], [use PREFIX as the X11 base dir (default autodetect)])], [ x11prefix="$withval" ] )
167case "$x11prefix" in
168  "")
169    # default to traditional value
170    x11prefix=/usr/X11R6
171    ;;
172  *)
173    x_includes=$x11prefix/include
174    x_libraries=$x11prefix/lib
175    ;;
176esac
177
178# Check for md5 implementation
179MP_LIB_MD5
180# Check for X11 and paraphernalia
181MP_CHECK_X11
182
183AC_MSG_CHECKING(for X11 prefix)
184X_INCLUDES_PREFIX=`echo "$x_includes" | sed "s,/include,,"`
185X_LIBRARIES_PREFIX=`echo "$x_libraries" | sed "s,/lib,,"`
186if test "x$have_x" = "xyes" -a "x$X_INCLUDES_PREFIX" = "x$X_LIBRARIES_PREFIX" -a "x$X_LIBRARIES_PREFIX" != x; then
187    x11prefix=$X_LIBRARIES_PREFIX
188fi
189AC_MSG_RESULT([$x11prefix])
190AC_SUBST(x11prefix)
191
192# Check for readline
193AC_ARG_ENABLE(readline, AC_HELP_STRING([--enable-readline], [Enable addition of readline support, if readline present.]),
194[
195        AC_CHECK_LIB([readline], [readline], [
196                                  READLINE_LIBS=-lreadline
197                                  AC_DEFINE([HAVE_LIBREADLINE], [1], [Define to 1 if you have the `readline' library (-lreadline).])
198                                  ])
199        AC_CHECK_DECLS([rl_username_completion_function,rl_filename_completion_function,rl_completion_matches,username_completion_function,filename_completion_function,completion_matches], [], [],
200        [
201        #include <stdio.h>
202        #if HAVE_READLINE_READLINE_H
203        # include <readline/readline.h>
204        #endif
205        ])
206])
207AC_SUBST(READLINE_LIBS)
208
209# Lowest non-system-reserved uid and gid (Apple claims <500)
210AC_DEFINE([MIN_USABLE_UID], [500], [Lowest non-system-reserved UID.])
211AC_DEFINE([MIN_USABLE_GID], [500], [Lowest non-system-reserved GID.])
212
213# Load tclConfig.sh
214SC_PATH_TCLCONFIG
215SC_LOAD_TCLCONFIG
216
217# Check for Tcl public headers
218dnl XXX  hardwire CYGPATH (CYGPATH must be set for SC_PUBLIC_TCL_HEADERS)
219CYGPATH=echo
220SC_PUBLIC_TCL_HEADERS
221
222# Check for tclsh binary
223MP_PROG_TCLSH
224
225# Check for Tcl package path
226MP_TCL_PACKAGE_DIR
227
228# Check if thread is enabled.
229MP_TCL_THREAD_SUPPORT
230
231## libcurl
232MP_LIBCURL_FLAGS
233
234# Do we have curl_easy_strerror?
235AH_TEMPLATE([HAVE_CURL_EASY_STRERROR],
236               [Define to 1 if you have the curl_easy_strerror function.])
237AC_CHECK_LIB([curl], [curl_easy_strerror],
238        [AC_DEFINE([HAVE_CURL_EASY_STRERROR])],[],
239        [$LDFLAGS_LIBCURL])
240
241# Determine if we need to install some bundled packages
242OUR_INCLUDED_PACKAGES=
243
244## Thread package.
245AC_ARG_WITH(
246                included-tclthread,
247                AS_HELP_STRING([--with-included-tclthread],
248                        [install included Thread package.]),
249                [with_included_tclthread=$withval],
250                [with_included_tclthread="unspecified"])
251
252# Check if thread package is already installed.
253if test "x$with_included_tclthread" = "xunspecified" ; then
254        MP_TCL_PACKAGE(
255                [Thread],
256                [AC_MSG_RESULT([yes]); with_included_tclthread=no],
257                [AC_MSG_RESULT([no]); with_included_tclthread=yes])
258fi
259
260# If thread package isn't installed, configure and install thread package.
261if test "$with_included_tclthread" = "yes"; then
262        OUR_INCLUDED_PACKAGES="$OUR_INCLUDED_PACKAGES thread2.6"
263        AC_CONFIG_SUBDIRS([src/thread2.6])
264        # Extract thread package
265        (cd src/; gzip -d < thread2.6.tar.gz | tar xf -)
266        # Patch thread package (so thread2.6 is the vanilla distribution directory)
267        patch -p0 < src/thread2.6.diff
268fi
269
270## sqlite3 package.
271AC_ARG_WITH(
272                included-sqlite3,
273                AS_HELP_STRING([--with-included-sqlite3],
274                        [build using bundled sqlite3 package]),
275                [with_included_sqlite3=$withval],
276                [with_included_sqlite3="unspecified"])
277
278# Check if sqlite3 package is already installed.
279if test "x$with_included_sqlite3" = "xunspecified" ; then
280        AC_CHECK_LIB([sqlite3],[sqlite3_open],
281                [with_included_sqlite3=no],
282                [with_included_sqlite3=yes])
283fi
284
285AC_ARG_WITH(
286                tcl-sqlite3,
287                AS_HELP_STRING([--with-tcl-sqlite3=DIR],
288                        [directory for Tcl sqlite3 (default /usr/lib/sqlite3)]),
289                [mp_sqlite3_dir=$withval],
290                [mp_sqlite3_dir=/usr/lib/sqlite3])
291
292# If sqlite3 package isn't installed, configure and install sqlite3 package.
293if test "$with_included_sqlite3" = "yes"; then
294        OUR_INCLUDED_PACKAGES="$OUR_INCLUDED_PACKAGES sqlite-3.1.3"
295        INCLUDES="$INCLUDES -I../sqlite-3.1.3"
296        AC_CONFIG_SUBDIRS([src/sqlite-3.1.3])
297        # Extract sqlite3 package
298        (cd src/; gzip -d < sqlite-3.1.3.tar.gz | tar xf -)
299        # patch sqlite3 with desired configure options
300        patch -p0 < src/sqlite-3.1.3.diff
301        # the new tclinstaller.tcl needs to have substitution occur
302        mv src/sqlite-3.1.3/tclinstaller.tcl src/sqlite-3.1.3/tclinstaller.tcl.in
303        SQLITE3_LIBS=`pwd`"/src/sqlite-3.1.3/.libs/libsqlite3.a"
304        if test "x$prefix" = "xNONE" ; then
305                SQLITE3_DIR=$ac_default_prefix/share/macports/Tcl/sqlite3
306        else
307                SQLITE3_DIR=$prefix/share/macports/Tcl/sqlite3
308        fi
309else
310        SQLITE3_LIBS="-lsqlite3"
311
312        AC_CACHE_CHECK([for Tcl sqlite3 location], [mp_cv_sqlite3_dir],
313                [mp_cv_sqlite3_dir=
314                test -r "${mp_sqlite3_dir}/pkgIndex.tcl" && mp_cv_sqlite3_dir=$mp_sqlite3_dir
315                ])
316
317        SQLITE3_DIR=$mp_cv_sqlite3_dir
318fi
319
320AC_SUBST(SQLITE3_LIBS)
321AC_SUBST(SQLITE3_DIR)
322
323AH_TEMPLATE([TRACE_SDK], [SDK for SDK redirect in tracelib])
324AC_ARG_WITH(
325        trace-sdk,
326        AS_HELP_STRING([--with-trace-sdk=SDK],
327                [SDK for redirection in trace lib (for example MacOSX10.4u.sdk)]),
328        [test -d /Developer/SDKs/$withval && AC_DEFINE_UNQUOTED([TRACE_SDK], "${withval}")], [])
329       
330       
331# If /etc/paths.d and /etc/manpaths.d then we can install our path configuration
332# (this code is currently disabled since this mechanism implies that MacPorts paths are
333# added after the system's paths, and so MacPorts commands would not override system functions).
334AC_MSG_CHECKING(whether to install MacPorts paths into /etc/paths.d and /etc/manpaths.d)
335mpprefix=$prefix
336test "x$mpprefix" = "xNONE" && mpprefix=$ac_default_prefix
337if false && test -d /etc/paths.d -a -d /etc/manpaths.d -a "$mpprefix" = "$ac_default_prefix"; then
338        PATHCONF=pathconf
339        AC_MSG_RESULT([yes])
340else
341        AC_MSG_RESULT([no])
342fi
343
344
345# Allows building of shared libraries
346SC_ENABLE_SHARED
347
348# Pull compiler / linker values from tclConfig.sh
349CFLAGS_DEBUG=${TCL_CFLAGS_DEBUG}
350CFLAGS_OPTIMIZE=${TCL_CFLAGS_OPTIMIZE}
351LDFLAGS_DEBUG=${TCL_LDFLAGS_DEBUG}
352LDFLAGS_OPTIMIZE=${TCL_LDFLAGS_OPTIMIZE}
353SHLIB_LD=${TCL_SHLIB_LD}
354STLIB_LD=${TCL_STLIB_LD}
355SHLIB_CFLAGS=${TCL_SHLIB_CFLAGS}
356SHLIB_SUFFIX=${TCL_SHLIB_SUFFIX}
357
358AC_SUBST(INCLUDES)
359AC_SUBST(CFLAGS_DEBUG)
360AC_SUBST(CFLAGS_OPTIMIZE)
361AC_SUBST(PATHCONF)
362AC_SUBST(STLIB_LD)
363AC_SUBST(SHLIB_LD)
364AC_SUBST(SHLIB_CFLAGS)
365AC_SUBST(SHLIB_LDFLAGS)
366AC_SUBST(SHLIB_SUFFIX)
367AC_SUBST(TCL_DEFS)
368AC_SUBST(TCL_STUB_LIB_SPEC)
369AC_SUBST(TCL_CC)
370AC_SUBST(OUR_INCLUDED_PACKAGES)
371
372# misc variables that need to be expanded for substitution into tcl
373
374oldprefix=$prefix
375if test "x$prefix" = "xNONE" ; then
376   prefix=$ac_default_prefix
377fi
378
379eval "prefix_expanded=$prefix"
380AC_SUBST(prefix_expanded)
381# do this twice, since there is a nested variable of
382# ${prefix} inside of ${sysconfdir}
383eval "MPCONFIGDIR_EXPANDED=$MPCONFIGDIR"
384eval "MPCONFIGDIR_EXPANDED=$MPCONFIGDIR_EXPANDED"
385AC_SUBST(MPCONFIGDIR_EXPANDED)
386eval "localstatedir_expanded=$localstatedir"
387AC_SUBST(localstatedir_expanded)
388
389prefix=$oldprefix
390
391dnl man page settings (compressed, links, etc)
392dnl
393dnl SC_CONFIG_MANPAGES
394
395# Output
396AC_CONFIG_FILES([
397        Doxyfile
398        Makefile
399        Mk/macports.autoconf.mk
400        doc/prefix.mtree
401        doc/macosx.mtree
402        doc/macports.conf
403        portmgr/freebsd/Makefile
404        portmgr/fedora/macports.spec
405        src/Makefile
406        src/macports1.0/macports_autoconf.tcl
407        src/tclobjc1.0/Makefile
408        src/pathconf/Makefile
409        src/pathconf/paths
410        src/pathconf/manpaths
411        src/port1.0/port_autoconf.tcl
412        src/registry1.0/registry_autoconf.tcl
413        src/programs/Makefile
414        src/macports1.0/macports_fastload.tcl
415])
416
417AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.