Commit graph

6395 commits

Author SHA1 Message Date
rillig
4a63eaf9f3 When removing an already installed package, the correct package version
is reported.

Fixed the output by not nestedly redirecting the output of "bmake debug".
2007-05-23 10:50:44 +00:00
sketch
aa1c561a73 Add C99 support, required for packages which use C99 such as devel/glib2 2007-05-23 08:42:36 +00:00
joerg
0a774d640d Restore _REDUCE_DEPENDS_CMD for now as it is still used by show-depends.
Noticed by rillig@
2007-05-23 00:23:24 +00:00
joerg
6333a48d03 GNU make strongly dislikes it when MAKE is already set to bmake.
So ensure that we don't pollute the environment at all and push down
the arguments for install-dependencies via the command line.
Thanks to seb@ for the problem report and test.
2007-05-22 21:27:59 +00:00
joerg
5e13adf163 While investigating xtraeme's bug report about duplicate running of the
dependency installation, it occured to me that "make depends" doesn't
run the bootstrap-depends target correctly anymore. A deeper analysis
didn't show why it happened to work as it is only requested explicitly
by fetch. It wasn't an issue as all bootstrap dependencies were checked
again before, but fix this correctly by listening as dependency of
depends as well.
2007-05-22 19:04:24 +00:00
joerg
7f9ad57965 Remove an unused, just added internal target. 2007-05-22 18:08:33 +00:00
joerg
fcc23edafa Fix a small logic bug. When running install-dependencies for the first
time for bootstrap-dependencies, only really only look at the bootstrap
dependencies. Skip them in the second run.

Confusion reported by xtraeme@
2007-05-22 17:30:54 +00:00
joerg
c466f410c0 Make depends-cookie a flavor indendepent target. Before it was used to
trace the dependency information. This is computed and stored in
.depends directly now before anything else is done. The output is locked
and the locking is supposed to work before the bootstrap-depends are
installed.

Add a new hook for flavors after all dependencies are added and before
the depends-cookie is created. Use this to compute which package is used
to fulfill each dependency and store it in .rdepends. Adjust
register-dependencies and some other places to use this information
directly instead of recomputing it all the time.

The code to list all dependencies and to recursively install missing
ones is moved to a separate shell script. This makes it easier to
understand what is going on and extend them later.

Change the calling of pkg_create to prepend the dependencies directly to
the passed-in PLIST and not via -P and -T. This is in preperation of
changing the way they are stored in the packages.

Discussed with, recieved minor disagreement about install-dependencies,
but otherwise OKed by jlam.
2007-05-22 16:17:15 +00:00
martti
8b869189b2 Remove trailing spaces. This will fix my problems with pkglint:
# pkglint -Wall
FATAL: ../../mk/fetch/sites.mk:56: Unknown line type.
2007-05-22 12:27:08 +00:00
wiz
00cb019610 Remove some outdated mirror sites. From Zafer Aydogan. 2007-05-21 22:42:22 +00:00
kristerw
c54aa3660b Add all packages that are used by pkgsrc/bootstrap to the list of
packages that should not be built on non-NetBSD systems.
2007-05-20 23:33:06 +00:00
taca
38c1bf9300 Add description of squirrelmail-japanese and squirrelmail-lite. 2007-05-20 17:08:06 +00:00
wiz
8bf04f2f48 Remove two mirror obsolete mirror sites, from Zafer Aydogan. 2007-05-20 08:54:36 +00:00
wiz
db449971c3 Remove gentoo mirror that does not resolve any longer. From Zafer Aydogan. 2007-05-20 08:53:40 +00:00
wiz
03fb57fcc5 Sync postgresql mirror list. 2007-05-20 08:52:29 +00:00
rillig
a5f2e60928 When a wrapped compiler or linker command fails, the transformed command
line is no longer printed by default. To get that behavior back, you can
set the variable WRAPPER_DEBUG to "yes".

This avoids some noise during the build. The old behavior was mostly
useful on Solaris and IRIX, where a -std=c99 or -c99 option had been
added to the compiler's arguments by the wrapper. This caused
diagnostics that were hard to understand, since the user did not specify
these flags and there was no sign that they had been added.
2007-05-19 17:25:56 +00:00
wiz
43948ca294 Revert previous (1.140), committed by accident. 2007-05-19 14:10:35 +00:00
wiz
daff9198ed On Linux (at least Red Hat Enterprise 3), openssl needs libraries
from /usr/kerberos and /dev/random in sandbox.  On FreeBSD, use
devfs to populate /dev in sandbox.

From Sergey Svishchev.
2007-05-19 14:09:54 +00:00
joerg
c8429a5376 set -e to abort on errors from the sub-makes. 2007-05-16 16:48:12 +00:00
rillig
d47a0d4dcb PKGBASE must not include a backslash. 2007-05-11 08:35:52 +00:00
obache
2bce931566 Recognize argment "-" as $pofile. 2007-05-10 15:42:29 +00:00
joerg
79cc54a7ec Add two targets, pbulk-index and pbulk-index-item.
pbulk-index-item prints a number of variables used by the parallel bulk
build code during either the build, the report or the upload phase.

pbulk-index checks whether multiple versions of the current package
could be build (e.g. because multiple Python versions are supported) and
uses pbulk-index-item for each possible combination.

Thanks to David Laight for explaining the different between using :[#]
in the body of a make target and in a clause of an .if.

Powered-by: Google SoC 2007.
2007-05-09 23:33:51 +00:00
joerg
bc7f2d5b96 Fix prefix for Apache 2.2 packages. 2007-05-09 19:56:18 +00:00
rillig
4b4f995744 On Cygwin, OS_VERSION contains special characters, so it needs the :Q
operator. An example version is 1.5.24(0.156/4/2).
2007-05-07 22:16:04 +00:00
rillig
d65eda96ee When looking for help for _vargroups, the show-all target will be shown. 2007-05-07 09:35:53 +00:00
rillig
717fadaada Added variable descriptions. 2007-05-07 09:32:11 +00:00
obache
6615c8e011 Change input file lookup behavior to close to gnu msgfmt's implementation.
* allow "-" (stdin)
 * allow other than regurar file (should fix PR 36257).
 * if doesn't exist, try to append extension ".po" and ".pot".
2007-05-07 09:31:05 +00:00
rillig
97712cb6ae If a package is already installed, the PKG_OPTIONS of the installed
package is returned rather than querying the source package. First, this
is more correct, and second, it greatly speeds up pkgsrc, especially
when many packages are already installed.
2007-05-07 09:26:40 +00:00
adrianp
8b25f04d40 Add some DSPAM options to keep pkglint happy 2007-05-06 21:07:56 +00:00
tnn
c7d09b8f3c Back out previous. The packages that incorrectly assume that ld
--version-script works are few enough to warrant fixing each one of them
instead. Silenty dropping the flag makes it impossible to detect whether or
not --version-script is supported. Pointed out by joerg@
2007-05-06 10:05:38 +00:00
rillig
c181356bf6 Converted a load-time .for loop into a run-time one. This brings back
the variables CONFIGURE_ARGS, _DISTFILES, _PATCHFILES and
_PLIST_IGNORE_FILES to the +BUILD_INFO file.

Fixes PR 36228.
2007-05-01 12:41:10 +00:00
tnn
417f311e41 --version-script is GNU ld specific, remove from command line. 2007-04-29 13:16:48 +00:00
tnn
10133a1027 - Use builtin krb5 implementation.
- Default to sysutils/gamin for packages that need libfam.
2007-04-29 11:54:25 +00:00
tnn
305f2d4288 Correct comment about -g3 flag. 2007-04-28 21:32:30 +00:00
tron
6d1590abec Set "BUILDLINK_LDFLAGS.dl" to "${BUILDLINK_LDFLAGS.dlcompat}" if we are
using the "dlcompat" package under Mac OS X.

Another attempt to fix PR pkg/36086.
2007-04-27 15:02:37 +00:00
tnn
a896bfc3be Do not include posix_headers when bootstrapping. The package is only
useful when building packages from source, and it is compiler dependent.
2007-04-25 13:29:11 +00:00
tnn
967ebc4279 Enable use of pkgtools/posix_headers on HP-UX version 11.11. 2007-04-24 19:48:26 +00:00
tnn
446bd88591 rename shared modules from .so to .sl 2007-04-22 19:54:44 +00:00
tnn
5246b02f93 Handle linker optimization flag. 2007-04-22 18:56:22 +00:00
tnn
89d0487fe0 fix typo 2007-04-21 14:53:19 +00:00
tnn
b2d49fdea7 .so -> .sl substitution 2007-04-21 14:15:59 +00:00
tnn
4176dd5c80 don't use the system provided openssl and zlib for now 2007-04-21 13:54:46 +00:00
tnn
cf0d723c6f add workaround for ld(1) run path problems and document those 2007-04-21 01:29:25 +00:00
tnn
4fb278e0f0 add awk script to be used for Spectrum Object Module shlib handling. 2007-04-19 23:13:42 +00:00
xtraeme
74128fcaf3 Check if INSTALLATION_DIRS_FROM_PLIST is defined before using .if
!empty...

Reported by Mihai Chelaru.
2007-04-19 18:16:36 +00:00
joerg
5ca4038017 Drop NO_MTREE by making it the default. Introduce USE_MTREE to get the
old behaviour back. Discussed on tech-pkg@.
2007-04-19 16:52:03 +00:00
joerg
5f35b1a543 Fix last commit to really save forks at mentioned by rillig@:
OPSYS needs to be evaluated in-place, so use :=.
2007-04-17 19:45:35 +00:00
dillo
dcc6b8ead7 Rename option glx to dri; it will be used by MesaLib shortly, and
dri seems more natural there.
Okayed by wiz and joerg.
2007-04-17 19:07:49 +00:00
dillo
51ab8eca7e Describe glx option -- used by modular-xorg-server and wip/MesaLib
to enable direct rendering support.
XXX: Maybe it should be renamed to dri?
2007-04-17 14:17:11 +00:00
tnn
1a639746d4 fix botched $NetBSD$ 2007-04-17 11:09:28 +00:00