summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-08-28Add missing $NetBSD$dmcmahill1-0/+2
2006-08-26spelling correctionschwarz1-3/+3
2006-08-26X11_TYPE being undefined cannot occur thanks to the preceeding lineschwarz1-2/+2
2006-08-25Make sure that /usr/bin/wish exists before using it as a tool.minskim1-1/+3
2006-08-22Avoid spurious false negatives when the directories are reorderedjoerg1-4/+7
during install phase by sorting explicitly.
2006-08-19it is not necessary to have a variable _EXTRACT_PATTERNS that containsschwarz1-34/+29
${EXTRACT_SUFX}, so one can directly use EXTRACT_ONLY instead. EXTRACT_ONLY defaults to ${DISTFILES} which in turn defaults to ${DISTNAME}${EXTRACT_SUFX}. So if EXTRACT_SUFX is relevant for determining which tools are needed this can only happen if neither DISTFILES nor EXTRACT_ONLY have been set by the package, in which case the relevant variable EXTRACT_ONLY would contain EXTRACT_SUFX.
2006-08-19only depend on the extract tools if there are actually any files to extractschwarz1-30/+34
2006-08-16document mutt-compressed-mbox optiontonio1-0/+1
2006-08-11Update some more comments for teTeX2 removal.wiz1-4/+2
2006-08-10When installing packages, first "cd $USR_PKGSRC" to be independent ofrillig1-2/+2
the current working directory. See http://mail-index.netbsd.org/tech-pkg/2006/08/08/0006.html
2006-08-10Add in FTP option for INGO update.adrianp1-0/+1
2006-08-10Add in new options for mrtg and smokeping for latest updates.adrianp1-0/+2
2006-08-10Remove references to teTeX2.minskim2-14/+9
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