summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-06-07Back out previous and always define the shell variable $silentjlam1-2/+3
appropriately again based on the value of _BOOTSTRAP_VERBOSE. This code was lost in revision 1.27. This should again suppress the output during "mirror-distfiles" in the case where the bootstrap dependency is already installed.
2007-06-07Fixed a typo, which has been discovered by Mark E. Perkins.rillig1-2/+2
2007-06-06Replaced ${_PKG_SILENT}${_PKG_DEBUG} with a simple ${RUN} to save somerillig1-49/+39
space.
2007-06-06The "build-env" target is no longer defined in this file.rillig1-7/+1
2007-06-06Fixed indentation.rillig1-3/+3
2007-06-06Added _VARGROUPS.rillig1-1/+6
2007-06-06Added _VARGROUPS.rillig1-1/+14
2007-06-06Made the generation of the PLIST_SUBST entries a bit simpler.rillig1-41/+8
2007-06-06Added BUILD_DEFS.rillig1-1/+3
2007-06-06Removed the comment about REPLACE_EMACS, since there isn't any coderillig1-9/+9
implementing it. Added the variable description (_VARGROUPS).
2007-06-06Removed the outer .if ... .endif, so that I don't need to indent therillig1-22/+23
other conditionals. Indented all conditionals according to pkglint's idea of correct indentation. All packages that use this file must also have some options. Otherwise, why should they use it at all? All errors are _appended_ to PKG_FAIL_REASON, instead of overwriting older ones.
2007-06-05Added the variable JAVA_BINPREFIX containing the prefix to the wrappedrillig1-9/+28
Java binaries. This makes it easier for packages to call the wrapper instead of the direct binary. See games/cgoban-java/Makefile revision 1.39 for the current approach and the following revision for the simpler one. Added _VARGROUPS. Doing that, I realized that BUILD_DEFS corresponds to _USER_VARS.* and BUILD_DEFS_EFFECTS to _SYS_VARS.*. This redundancy may be removed in the future. Removed a redundant comment.
2007-06-05The variable $silent may be undefined, not only empty.rillig1-2/+2
(This is needed for changing the "set -e" to "set -eu" in the ${RUN} macro.)
2007-06-04For GNU-style configure scripts, the environment variable install_shrillig2-3/+8
must point to a shell script (as the name implies), not to a binary.
2007-06-04Keywords may be separated by commas.rillig1-2/+2
2007-06-04Added documentation.rillig1-1/+15
2007-06-04Avoid usage of modern kinds of parameter expansion (##, #, %%, %)heinz1-3/+4
because /bin/sh on Solaris doesn't understand this syntax and bmake uses this ancient shell. bmake should really be built with /bin/ksh or /usr/xpg4/bin/sh as the default shell.
2007-05-31If a package is already installed, bulk-install should not try to buildrillig1-2/+3
it again.
2007-05-29* Move the meat of the bootstrap-depends target entirely within thejlam1-3/+12
lock, which I think is what was originally intended. * Avoid creating ${WRKDIR}/.depends when running the bootstrap-depends target, which is run as part of running the fetch target. We still create the .depends file later when we need it. XXX Note that there are still problems when locking occurs because locks XXX are created in ${WRKDIR}, so running "bootstrap-depends" as a source XXX for "fetch" will still cause the work directory to be created and XXX populated with files. This probably needs to be solved by using a XXX different location for the lockfile, e.g. ${TMPDIR}, for the XXX bootstrap-depends step.
2007-05-29Add some more keywords, so that one can grep for "mk.conf" and find therillig1-1/+3
relevant code that loads the configuration.
2007-05-29Test to see if a variable is defined before testing for its value. Keepsdmcmahill1-2/+3
make happy on my older (netbsd-2) NetBSD box.
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