summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-07-28Update the usage output to reflect current reality. Noted by Stoneddmcmahill1-4/+14
Elipot.
2006-07-28remove spurious empty line at the top of the summary filesdmcmahill1-2/+3
2006-07-28Allow the binpkg-cache script to also generate pkg_summary.gz filesdmcmahill3-19/+75
if requested. Suggested by Joerg Sonnenberger.
2006-07-27Remove ftp.au.netbsd.org.lukem1-5/+3
2006-07-27Add back CONFLICTS handling that was accidentally left out when revisionjlam1-1/+2
1.1 of this file was committed and the same code was removed from bsd.pkg.mk.
2006-07-27Remove all uses of the following targets from pkgsrc:jlam3-22/+8
show-all-depends-dirs show-all-depends-dirs-excl Replace them with calls to pkgsrc/mk/scripts/depends-depth-first.awk which does the same thing but without the extra overhead of invoking a recursive make.
2006-07-27Whenever we invoke a recursive make, we need to ensure that the properjlam12-73/+72
environment ${PKGSRC_MAKE_ENV} is also passed along. Create a convenience variable RECURSIVE_MAKE that does exactly this and that can be used in place of MAKE when invoking make recursively. Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make recursively.
2006-07-27Make the language warning a bit less forceful, since it is often a falsejoerg1-3/+3
warning.
2006-07-27Rename "SITES_* to "SITES.*" for file-specific lists of sites from whichjlam1-7/+4
to fetch the file. This completes the renaming described in revision 1.1799 of bsd.pkg.mk.
2006-07-27Document the targets in fetch-list.mk.jlam1-2/+30
2006-07-27Note that "fetch-list" is a public target.jlam1-2/+2
2006-07-27Remove an unnecessary recursive make invocation.jlam1-18/+11
2006-07-27Replace this:jlam1-14/+13
for i in `cmd`; do ...; done with this: cmd | while read i; do ...; done
2006-07-27All of the other *SITES* variables are plural, so rename DYNAMIC_SITE_*jlam2-8/+8
to DYNAMIC_SITES_* for consistency.
2006-07-27Apply the "convention over configuration" principle:jlam2-7/+9
If ${FILESDIR}/getsite.sh exists, then use it to determine the fetch URL for each of the distfiles for the package. Otherwise, use SITE_<file> and MASTER_SITES, in order, to determine the URL for each distfile. If the script path differs from ${FILESDIR}/getsite.sh, then set DYNAMIC_SITE_SCRIPT to the full path to that script. Remove the need to set DYNAMIC_MASTER_SITES explicitly in the package Makefile for: graphics/ns-cult3d wm/sawfish-themes www/apache-tomcat55 www/jakarta-tomcat4 www/jakarta-tomcat5
2006-07-27The intention behind REPLACE_BASH was to make replacing /bin/sh withrillig1-2/+2
${BASH} easy, so the pattern that is replaced is now .*sh instead .*bash.
2006-07-27The ORDERED_SITES variable defined in fetch.mk was made private injlam1-3/+3
revision 1.14, so reflect that in the usage in fetch-list.mk. This fixes PR pkg/34075.
2006-07-27After auditing all the packages the ensure that they never invoke thejlam5-10/+10
compiler toolchain until the configure stage, move the "wrapper" stage back to between "patch" and "configure". This makes "make extract NO_DEPENDS=" work again for all packages.
2006-07-27Documented DIST_PATH and fixed two typos (${TARGET} is not ${.TARGET}).rillig2-15/+17
2006-07-26Pass MAKECONF down to recursive make processes to ensure they all usejlam1-1/+6
the same ${MAKECONF} file.
2006-07-26Ensure that the just-in-time su command invoked has the same environmentjlam1-2/+3
as other recursive make processes (PKGSRC_MAKE_ENV).
2006-07-26add a missing PHONYdrochner1-1/+2
2006-07-26When the bulk build code encounters a directory in *SPECIFIC_PKGSwiz2-5/+27
that does not exist, it stopped. Now it instead adds an entry to the main broken file and marks it as not package with maintainer "directory_does_not_exist" in the HTML output. (Not packaged directories are not mentioned in the text version.)
2006-07-25Move barrier to just after the depends phase. This allows both thejlam2-8/+8
"tools" and "wrapper" phases to be able to expect all the dependencies to be installed already.
2006-07-25BUILD_ENV was renamed to PKGSRC_MAKE_ENV.jlam1-3/+3
2006-07-25Whenever f2c is mentioned in USE_LANGUAGES, a C compiler is also needed,rillig1-1/+3
so automatically add it to USE_LANGUAGES. Fixes PR 34079.
2006-07-24Remove comment for non-existing USETBL.wiz1-7/+1
2006-07-24Describe groff-docs.wiz1-0/+1
2006-07-23The proper phase to run just before "configure" is "patch", notjlam1-2/+2
"wrapper", after "wrapper" was moved to be between "tools" and "extract". This should fix PR pkg/34061.
2006-07-23Remove mirrors.sunsite.dk because it causes hangs in thewiz1-2/+1
weekly distfiles fetch.
2006-07-23Remove cran.dk -- causes hangs for weekly distfiles mirror job.wiz1-2/+1
2006-07-22Modify the barrier so that we always invoke the recursive make processjlam15-32/+32
when passing through the barrier. This ensures the PATH (passed via PKGSRC_MAKE_ENV) is correctly set for all phases after the barrier. This fixes a bug in "interactive" pkgsrc use, where if you have no work directory and type "make build && make install", then the "install" step does not have a PATH set to include all the wrapper and tools directories.
2006-07-22The C compiler is also used for Objective C, so the c-fail-wrapper isrillig1-3/+3
only created if none of these languages is mentioned in USE_LANGUAGE.
2006-07-21"BUILD_ENV" was misnamed. It's actually the environment that is passedjlam5-13/+13
to all internal recursive make processes. As such, rename it to "PKGSRC_MAKE_ENV". XXX Note, some of the usage of this variable in package Makefiles seems XXX incorrect. They probably want "MAKE_ENV", which is the environment XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-21Rearrange sequence so that "wrapper" occurs between "tools" andjlam7-17/+24
"extract". This allows all user-definable targets (pre-*, do-*, post-*) to have access to the wrapper scripts.
2006-07-21Modify the shlib-type script so that it doesn't need to compile anythingjlam2-26/+22
-- instead, we just check "pkg_info", which should exist on all pkgsrc platforms. XXX Note that this may need to change when we later support other package XXX system flavors. Back out revision 1.79 of pkgtools/x11-links/Makefile which was only to work around needing a C compiler for shlib-type to work.
2006-07-20Remove USE_GNU_GETTEXT from pkgsrc. Packages generally only neededjlam13-26/+13
it for plurals support, but that is already handled correctly (FSVO "correctly") by the pkgsrc/mk/tools/msgfmt.sh script. Also remove _USE_GNU_GETTEXT definitions from pkgsrc/mk/platform/*.mk files as that value has been unused by pkgsrc for quite some time (going back several branches).
2006-07-20Make _show-dbginfo-configure work for packages that don't setjlam1-1/+3
CONFIGURE_ARGS. We guard against an empty CONFIGURE_ARGS to prevent the ODE variable loop from expanding to an empty value.
2006-07-20CONFIGURE_ARGS are processed by an ODE "for" loop, since that preventsrillig1-2/+2
an empty line from being printed when the variable is empty. It also removes the need for special handling of "<".
2006-07-20Use an ODE variable loop instead of a make .for loop to output the listjlam1-6/+5
of "TOOL" variables defined by the tools framework.
2006-07-20Added the build-env target.rillig1-4/+18
2006-07-20Include the file bsd.pkg.debug.mk if requested by invoking the "debug"rillig1-1/+4
target.
2006-07-20Oops, there had been an RCS tag that should not have been expanded.rillig1-2/+2
2006-07-20Added the "debug" target, which outputs a lot of information helping inrillig1-0/+119
debugging packages that have build problems.
2006-07-20Up to now, the language "c" has always been enabled, no matter if therillig1-5/+9
package said USE_LANGUAGES=#none or USE_LANGUAGES=fortran. Added a c-fail-wrapper that works like the other fail-wrappers. The default value for USE_LANGUAGES is still "c". Some problems are expected with packages that say USE_LANGUAGES+=c++ or with packages containing GNU configure scripts and setting USE_LANGUAGES=c++, as those scripts always need a working C compiler.
2006-07-20Don't bother with error messages when attempting to remove the "work"jlam1-2/+2
symlink in the pkgsrc tree in case it's actually a stale work directory. This gets rid of this error: ===> Cleaning for pkg_install-20060701 rm: work: is a directory *** Error code 1 (ignored)
2006-07-20The package directory path is "PKGPATH", not "PKG_PATH", which is usedjlam1-2/+2
by pkg_add(1).
2006-07-20Change last instance of _REPLACE.* to REPLACE.*. Remove specialjlam1-11/+1
_REPLACE.* handling from replace-interpreter.mk.
2006-07-20verify_file() returns a non-zero result whenever the distfile does notjoerg1-3/+1
currently exist. This triggers a bug in the Bourne shell of at least DragonFly and Irix, when set -e is also active. Remove set -e to avoid this. Discussed with jlam@, shown by DragonFly bulk builds, complains on DragonFly's user list and PR 34036. A test case for this shell bug is, which should return 0: set -e testf () { test -f /nonexistent || return 1 return 0 } if testf; then exit 1 fi exit 0
2006-07-20Remove ${SED} check that no longer works.jlam1-19/+1