summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-08-09Drop .ORDER declarations since pkgsrc doesn't support "make -j ...".jlam4-10/+4
2006-08-09Only acquire the localbase lock after acquiring root privileges. Thisjlam1-3/+9
fixes "make install" using just-in-time su-to-root.
2006-08-07Add "dvipdf" to the list of tools provided by ghostscript.cube1-2/+2
2006-08-06CPP on IRIX 5 with IDO cc is /usr/lib/cppschwarz1-2/+9
2006-08-06Add the mg locale directory (to be used by libgtop2).jmmv13-13/+65
2006-08-06Handle the share/pkgconfig directory where platform-independent packagesjmmv14-15/+41
(e.g. gtk-doc 1.6) want to install .pc files.
2006-08-06add an http: urls for gnome and gnu for the benefit of those withperry1-1/+3
broken ftp proxies
2006-08-05Document sane-backends-hp3900.wiz1-0/+1
2006-08-04Fixed the locking, as suggested by Johnny on the tech-pkg mailing list.rillig5-57/+111
Added two targets acquire-localbase-lock and release-localbase-lock, which mark the complete LOCALBASE directory as locked, so that multiple packages cannot run the install, deinstall or bin-install targets at the same time. The install target aquires locks in both WRKSRC and LOCALBASE, the other two targets only need the LOCALBASE lock, since they may be run without WRKSRC being present on the system. locking.mk must be included before tools.mk and the PKG_FAIL_REASON check.
2006-08-04Make sure requires and libs (PROVIDES) are set forreed1-5/+5
packages that use a sub-directory for prefix, like /usr/pkg/qt3/. (I have been using this for a couple years but recently merged my patch over to new flavor mk file.) Okayed by jlam on tech-pkg.
2006-08-04Added bsd.options.mk to the help files. As an alternative to TOPIC,rillig1-1/+5
topic may be used to avoid forcing people to use the shift key.
2006-08-04Rewrote the header comment so that "bin-install" can be found by "bmakerillig1-4/+6
help".
2006-08-04Moved the bin-install target from bsd.pkg.mk to install/bin-install.mk.rillig2-34/+66
Added documentation. Added locking around the real installation.
2006-08-04In the "makedirs" target, it is clear that the lock file is always therillig1-6/+4
_WRKDIR_LOCKFILE and never _PREFIX_LOCKFILE, so use that to keep things simple. Replaced ECHO with ECHO_MSG in the message for creating the WRKDIR symlink.
2006-08-04Moved the locking code from bsd.pkg.mk into its own file. Where here,rillig2-73/+84
added a more detailed header comment and fixed a bug concerning lockdir.
2006-08-03When installing or deinstalling a package, it is not enough to lock therillig2-22/+37
WRKDIR against foreign processes. Instead, the PKG_DBDIR is locked, preventing other (pkgsrc) processes from modifying the set of installed packages while another one is doing that. This allows to use "bmake update" efficiently on multi-processor machines by just running it in four different package directories. Note that the pkg_add and pkg_delete tools may still interfere with this locking when they are directly run.
2006-08-03Add "itlocaledir" to the list of directory patterns to replace.salo1-1/+2
From Gilles Dauphin via PR pkg/34103
2006-08-03Typo in comment.jlam1-2/+2
2006-08-02Suppress the warning from make(1) that the error code is ignored whenrillig1-4/+4
files cannot be deleted.
2006-08-02Removed dead mirror "ftp.uk.kde.org" from list of KDE master sites.tron1-2/+1
2006-08-02If the first word after the "#" is a variable name, the line above mustrillig1-6/+19
have been empty to qualify as a comment. Otherwise "make help TOPIC=configure" shows a lot of misleading contents. Removed the duplicate appearance of RCS Ids in the help texts, which often occured when the help text was the header comment of a file.
2006-08-02A common documentation format is to have the variable name as the firstrillig1-10/+19
word after the leading "#" for the comment. This format is also recognized. The RCS Id of the current file is printed together with the help text, so that the user can see which file defines the variable. Removed the :M* operator for _HELP_AWK, since bmake has a bug when "" is passed to the :M* operator. I've sent a bug report for this.
2006-08-02Added bsd.pkg.help.mk, which provides the "help" target.rillig2-2/+67
Since more and more files follow the convention of documenting variables in a common format, it makes sense to be able to get the documentation of a single variable by simple means, instead of searching through the whole mk/ directory. Try "make help TOPIC=CONFIGURE_DIRS" for an example.
2006-08-02http://prdownloads.sourceforge.jp/ doesn't work for me. Remove it.uebayasi1-2/+1
2006-08-02Pass CPPFLAGS in conf-cc and LDFLAGS in conf-ld.schmonz1-3/+3
2006-08-01Rewrote upload to use the newly introduced sort-packages program.rillig1-121/+117
While here, ... - Added stricter checking by using "set -eu". - The bulk build configuration file is properly included, and the MAKECONF definition that it may contain is properly exported. - All progress messages and error messages are prefixed by "upload>", so that it is obvious where the messages come from. - Since extracting the make(1) variables takes quite a long time, print an informational message before doing that. - Removed the use of the error-prone lintpkgsrc to detect whether a package is restricted or vulnerable. - If an error occurs, the upload program returns an exitcode of 1, which is common among Unix utilities. - Removed almost all pipe operators, since they tend to hide program failures. - All error messages are redirected to stderr instead of stdout.
2006-08-01Always create the files for the lists, even if they would end up empty.rillig1-5/+7
2006-08-01Oops, fixed a typo and tested it again. Now it works.rillig1-3/+3
2006-08-01Added a program that sorts binary packages into categories, depending onrillig1-0/+94
whether they may be uploaded, are vulnerable, or good.
2006-08-01- add a -h|--help flagdmcmahill1-16/+135
- add a -n|--no-upload flag which does everything but actually executing the upload to help see what would happen - add a -d|--debug flag to preserve the temporary files to help with debugging - add a -V|--version flag
2006-07-31From the second point in Krister's mail to tech-pkg:jlam1-7/+7
http://mail-index.netbsd.org/tech-pkg/2006/07/30/0005.html 2. Too much is logged in the .wrapper.log The wrappers log quite a lot of detailed information by default, with the result that my .work.log file is 176236028 bytes {for ghc}. The wrapper functionality is mature, so this detailed information is seldom needed, and you can in general determine what happened by looking at the input/output-lines (i.e. those lines marked as "[*]" and "<.>" in the .work.log). I would therefore like to change the default behavior to only log the input/output-lines. Flip the switch for WRAPPER_DEBUG from "yes" to "no" by default so that the detailed and rather verbose "push", "pop", "transform", etc. messages are not printed. While here, also make WRAPPER_DEBUG a pkgsrc-private variable by prepending with an underscore.
2006-07-31Use 'debug_log' instead of 'msg_log' so that these wrapper internals aren'tjlam9-57/+57
exposed unless WRAPPER_DEBUG is set to "yes".
2006-07-30- use ${BMAKE} instead of 'make' in one instancejschauma1-5/+18
- if we can't build one of the required packages, bail out
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.