summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-05-28Changed suffix for _PLIST_NOKEYWORDS to be more in line with other filesheinz1-2/+2
in WRKDIR.
2007-05-28In order to avoid incorrect information about needed shared libraries inheinz2-7/+22
+BUILD_INFO we must ensure that we only test valid lines from PLIST and not lines like "@unexec /bin/rmdir..." where "/bin/rmdir" is not a part of the resulting package. To achieve this, a stripped version of PLIST, called _PLIST_NOKEYWORDS, is introduced.
2007-05-28Remove trailing spaces.martti9-19/+19
2007-05-27Define a TOOLS_ENV variable that holds a shell environment that may bejlam1-7/+22
passed to the configure or build phases. This variable holds a slightly different value depending on whether GNU_CONFIGURE is defined or not -- in the former case, the value is tuned for passing the GNU configure script. Automatically pass TOOLS_ENV to GNU configure scripts, so there is no user-visible change.
2007-05-27Move the .if test out of the .for loop because the test condition doesn'tjlam1-5/+5
change within the .for loop.
2007-05-26Correct recording of provided shared libraries when using DESTDIR.heinz1-2/+2
Raised on tech-pkg 2007-05-16, no objections.
2007-05-26Add ring servers to MASTER_SITE_TEX_CTAN.obache1-2/+4
2007-05-25Remove stray done.joerg1-3/+2
2007-05-25Partly backout the commit and move install-dependencies back intojoerg2-92/+54
depends.mk. The quoting of arrays passed down is almost impossible to get right. For example, PKG_BUILD_OPTION.* variables can contain multiple space separated entries but have to be quoted twice. The original commit exposed two separate issues: - too many variables are passed down via MAKEFLAGS, including the above mentioned PKG_BUILD_OPTIONs. - x11/gtk2 used an invalid variable name that can't be assigned correctly via make command line. This is supposed to fix PR 36387.
2007-05-25Add xauth as tool.joerg1-2/+13
2007-05-25When testing whether the patches/ directory exists or not, take intorillig1-1/+9
account that CVS usually leaves empty directories around. This fixes the bootstrapping after a "cvs update" without the -P option. The error message leading to it was: ===> running: (cd /home/p/src/devel/bmake && /home/p/pkg/bin/bmake -s -DPKG_PRESERVE MAKECONF=/home/p/work/mk.conf.example WRKOBJDIR=/home/p/work/pkgsrc bootstrap-register) ERROR: [resolve-dependencies] A package matching ``digest>=20010302'' should ERROR: be installed, but one cannot be found. Perhaps there is a ERROR: stale work directory for ../../pkgtools/digest?
2007-05-24Replaced printf(1) with echo(1), since printf is not available in therillig1-8/+8
top-level directory of pkgsrc.
2007-05-24If more than one location for a topic is found, print an empty linerillig1-1/+3
between them. Up to now, "bmake help topic=configure" looked rather compressed.
2007-05-23Remove some more outdated/broken mirror sites.wiz1-10/+2
From Zafer Aydogan.
2007-05-23When removing an already installed package, the correct package versionrillig1-3/+4
is reported. Fixed the output by not nestedly redirecting the output of "bmake debug".
2007-05-23Add C99 support, required for packages which use C99 such as devel/glib2sketch1-1/+6
2007-05-23Restore _REDUCE_DEPENDS_CMD for now as it is still used by show-depends.joerg1-1/+6
Noticed by rillig@
2007-05-22GNU make strongly dislikes it when MAKE is already set to bmake.joerg2-23/+15
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-22While investigating xtraeme's bug report about duplicate running of thejoerg1-1/+2
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-22Remove an unused, just added internal target.joerg1-6/+1
2007-05-22Fix a small logic bug. When running install-dependencies for the firstjoerg2-11/+7
time for bootstrap-dependencies, only really only look at the bootstrap dependencies. Skip them in the second run. Confusion reported by xtraeme@
2007-05-22Make depends-cookie a flavor indendepent target. Before it was used tojoerg9-156/+305
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-22Remove trailing spaces. This will fix my problems with pkglint:martti1-3/+3
# pkglint -Wall FATAL: ../../mk/fetch/sites.mk:56: Unknown line type.
2007-05-21Remove some outdated mirror sites. From Zafer Aydogan.wiz1-29/+5
2007-05-20Add all packages that are used by pkgsrc/bootstrap to the list ofkristerw1-2/+4
packages that should not be built on non-NetBSD systems.
2007-05-20Add description of squirrelmail-japanese and squirrelmail-lite.taca1-0/+2
2007-05-20Remove two mirror obsolete mirror sites, from Zafer Aydogan.wiz1-4/+1
2007-05-20Remove gentoo mirror that does not resolve any longer. From Zafer Aydogan.wiz1-2/+1
2007-05-20Sync postgresql mirror list.wiz1-37/+39
2007-05-19When a wrapped compiler or linker command fails, the transformed commandrillig1-2/+2
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-19Revert previous (1.140), committed by accident.wiz1-5/+2
2007-05-19On Linux (at least Red Hat Enterprise 3), openssl needs librarieswiz2-5/+11
from /usr/kerberos and /dev/random in sandbox. On FreeBSD, use devfs to populate /dev in sandbox. From Sergey Svishchev.
2007-05-16set -e to abort on errors from the sub-makes.joerg1-2/+2
2007-05-11PKGBASE must not include a backslash.rillig1-4/+4
2007-05-10Recognize argment "-" as $pofile.obache1-2/+2
2007-05-09Add two targets, pbulk-index and pbulk-index-item.joerg3-3/+108
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-09Fix prefix for Apache 2.2 packages.joerg1-2/+2
2007-05-07On Cygwin, OS_VERSION contains special characters, so it needs the :Qrillig1-2/+2
operator. An example version is 1.5.24(0.156/4/2).
2007-05-07When looking for help for _vargroups, the show-all target will be shown.rillig1-2/+2
2007-05-07Added variable descriptions.rillig2-2/+11
2007-05-07Change input file lookup behavior to close to gnu msgfmt's implementation.obache1-7/+10
* allow "-" (stdin) * allow other than regurar file (should fix PR 36257). * if doesn't exist, try to append extension ".po" and ".pot".
2007-05-07If a package is already installed, the PKG_OPTIONS of the installedrillig1-6/+6
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-06Add some DSPAM options to keep pkglint happyadrianp1-0/+5
2007-05-06Back out previous. The packages that incorrectly assume that ldtnn2-7/+1
--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-01Converted a load-time .for loop into a run-time one. This brings backrillig1-6/+3
the variables CONFIGURE_ARGS, _DISTFILES, _PATCHFILES and _PLIST_IGNORE_FILES to the +BUILD_INFO file. Fixes PR 36228.
2007-04-29--version-script is GNU ld specific, remove from command line.tnn2-1/+7
2007-04-29- Use builtin krb5 implementation.tnn1-1/+7
- Default to sysutils/gamin for packages that need libfam.
2007-04-28Correct comment about -g3 flag.tnn1-2/+2
2007-04-27Set "BUILDLINK_LDFLAGS.dl" to "${BUILDLINK_LDFLAGS.dlcompat}" if we aretron1-1/+2
using the "dlcompat" package under Mac OS X. Another attempt to fix PR pkg/36086.
2007-04-25Do not include posix_headers when bootstrapping. The package is onlytnn1-2/+2
useful when building packages from source, and it is compiler dependent.