summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2001-02-24add FOX_USE_XUNICODE.sakamoto1-1/+7
Used in fox to build in support for Unicode by XUnicode.
2001-02-23make the column headings line up a little better. Patch from Hubert.dmcmahill1-4/+4
2001-02-21Fix the BUILD_DEPEND for perl-mk. Noted by David Brownlee.wiz1-2/+2
2001-02-21Use the make :Q modifier for quoting strings for the shell, instead ofwiz1-6/+6
manually doing it (in some places).
2001-02-20Fix typo in usage.wiz1-2/+2
2001-02-20Use ${LOCALBASE}/share/mk/bsd.perl.mk (as installed by perl-mk), if itwiz1-3/+6
exists, to set some variables, instead of starting perl for getting the values (fallback code to old case still there). BUILD_DEPEND on perl-mk in USE_PERL5 case for speed-up reasons.
2001-02-20Add share/mk (for pkgsrc-Makefile fragments installed by some programs)wiz3-3/+9
2001-02-19Evaluate PERL5_SITELIB, PERL5_SITEARCH and PERL5_ARCHLIB only ifhubertf1-4/+4
USE_PERL5 is actually set. Some speedup...
2001-02-19Do some more escaping in show-var. Inspired by hubertf.wiz1-2/+2
2001-02-17Fix show-var target (if variable contains " or `, like some COMMENTs do).wiz1-2/+2
2001-02-17Handle new category-Makefile formatwiz2-5/+4
2001-02-17Add german CPAN mirror.tron1-1/+2
2001-02-17reduce the verbosity when adding/removing pkgs. Suggested by Hubertdmcmahill1-10/+1
2001-02-16Change COMMENT handling:wiz2-21/+31
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT file. The COMMENT var should be in the maintainer block after the homepage. Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested) for the new behaviour. Document new state in Packages.txt. This should save lots of inodes, and lots of time when untarring/updating. Idea by Alistair Crooks. For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid a flag day.
2001-02-16Fix 2 typos in comments.wiz1-4/+4
2001-02-15when removing out of date binary packages from ${PACKAGES}/All, also removedmcmahill1-1/+6
the links from the package category subdirectories so we don't leave bad links around.
2001-02-15Mention opera-license in the list of ACCEPTABLE_LICENCESagc1-2/+5
2001-02-15Make sure we record the RCS Ids of all of the patch files in theagc1-3/+3
BUILD_VERSION information (pkg_info -b) Correct the English in the licence gripe.
2001-02-13only use the depends cache files during a bulk build, otherwise revert todmcmahill2-44/+67
the old behaviour. This is done because unless we're in the middle of a bulk build, we don't really know that the cache files are up to date. These are fairly time consuming (relative to a single smallish package build) to generate and depend on all of the pkgsrc makefiles. During a bulk build, the overhead is far outweighed by the savings. In particular, 'make bulk-install' will now work correctly outside of a bulk build (useful for debugging broken packages). Thanks to Hubert who noted the 'make bulk-install' problem in a private email.
2001-02-13Rename "${LOCALEBASE}" variable to "${LOCALEDIR}" to avoid mix-ups withtron1-4/+4
"${LOCALBASE}".
2001-02-12Work around (now fixed) bug in file(1) for arm32 a.out dynamicallysommerfeld1-1/+3
linked programs. The buggy file(1) on arm32 objects reports "shared library" for both programs and shared libraries, which results in broken automatic shared lib handling. Discussed on tech-pkg, approved two weeks ago by agc.
2001-02-11finish incomplete sentence (who contributed the code)dmcmahill1-2/+2
2001-02-09Document CCLIENT_MBOX_FMT, used in imap-uw to set the default format usedjlam1-1/+9
by c-client programs for new mailbox creation.
2001-02-09Update for current patch fuzz factor defaults.simonb1-4/+3
2001-02-08when a package fails to package, keep a count of how many others packagesdmcmahill2-10/+26
fail as a result. Then report this number in the generated email and html summary. The goal is to help the pkgsrc crew focus our efforts on the broken packages which have the largest impact. Thanks to Christoph Badura for suggesting that I do this and Hubert Feyrer who suggested an easier to read output format.
2001-02-06fix a bug which causes a few pkgs to be dropped from the output ofdmcmahill1-7/+25
tflat -u. Causes by not fully initializing an array before looping over the array. Other minor code cleanup.
2001-02-05Fix print-PLIST target so that files with whitespace in are dealt withskrll1-5/+5
correctly.
2001-02-02fix a bug which caused pkgs with no dependens to get dropped from the outputdmcmahill1-6/+13
when looking up the tree.
2001-02-02Set the variables F77 and FFLAGS in the configure environment (CONFIGURE_ENV).jtb1-1/+3
2001-02-01This commit incorporates several speed improvements which have been testeddmcmahill3-54/+193
over several bulk builds on an alpha: - At the start of a bulk build, 4 files are created to allow fast lookup of various dependency tree things. These files are .index == maps package name (foo-2.3) to directory (bar/foo) .dependstree == contains the complete pkgsrc dependency tree in a tsort(1) compatible format. .depends == contains 1 line per package and lists all the build depends for the package. .supports == contains 1 line per package and lists all packages which depend on this package. - When a package fails to build, the list of all packages which depend upon it is read from .supports. Each of those packages is immediately marked as broken. This prevents us from trying to build those packages which can have significant overhead if lots of other depends are installed before the system notices the broken one. In addition, the post-build postprocessing will now indicate that a package is 'truely broken' (ie, bad PLIST, failed compilation) vs. a package which is broken because it depends on a failed package. This assists in determining where to focus our efforts in fixing broken packages. - In the old approach, all packages are removed after each one is built. The purpose was to a) conserve disk space, b) verify that all required dependencies are in fact listed, and c) prevent conflicts. The problem was that often times several packages in a row have similar depends. For example we might want to build several perl packages in a row. In the old approach, we would install perl, build the pkg, deinstall perl and continue with the next one. In the new approach, when it is decided that a pkg is out of date and should be rebuilt, the .depends file is used to obtain a list of pkgs we require. Then and pkgs which are no longer needed are removed. This helps to minimize the total number of pkg_add/pkg_delete's in a bulk build. - Since the order of the build is controlled by the depends tree, all depends for a given package will have been built by the time the pkg in question needs them. If any of the depends failed to build, then the pkg which needs the failed one will have been marked as broken. Given this, the complete depends list for a pkg is read from .depends and the depends installed via pkg_add rather than relying on recursive make calls to install the depends. - while here, fix a few minor bugs x - don't leave .make log files around when the build succeeds x - make sure we refer to the correct report file in the email x - use '.order' for the build order file instead of '.l' x - use 'grep -c' instead of 'grep | wc -l'
2001-02-01take advantage of new target in bsd.pkg.mk to simplify the script and bedmcmahill1-18/+4
sure to not miss libtool depends.
2001-02-01- when deleting packages, don't try and delete packages which have alreadydmcmahill1-6/+10
been deleted. - when removing the '.start' file, don't remove them all, only the one we created. Prevents clashes when pkgsrc is shared among multiple machines.
2001-01-31add ftp-access for MASTER_SITE_SOURCEFORGE (on ftp.sourceforge.net)hubertf1-1/+2
2001-01-30Typo in comment for SMART_MESSAGES.jlam1-2/+2
2001-01-29Don't do input redirection for sed if not necessary.wiz1-4/+4
2001-01-29Update gnupg to 1.0.4nb2:wiz1-2/+2
Fix a bug in ~/.gnupg creation. Honor USE_IDEA, and add the IDEA extension in that case. Addresses pkg/11876.
2001-01-29Add automatic ${VARIABLE} handling for MESSAGE files.wiz1-13/+38
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
2001-01-29As per discussion on tech-pkg, correct behavior of `make package' in thejwise1-14/+18
case where DESTDIR is set. Previously, if DESTDIR was set when a pkg was installed, $DESTDIR/var/db/pkg/+CONTENT would get `@cwd $DESTDIR/$PREFIX', as would the +CONTENT archived in the binary package. The first is correct, the second is not. Now, @cwd in the +CONTENT recorded in the binary package gets $PREFIX (no $DESTDIR). This allows binary packages built into a DESTDIR to be installed on a real system. The @cwd in the installed PKG_DBDIR ($DESTDIR/var/db/pkg) remains the same. In addition, the full path ($DESTDIR/$PREFIX) is recorded in @src in the binary package's +CONTENT, for reference purposes. This patch is the same as that posted to tech-pkg, except that variable names have been clarified as suggested by hubertf.
2001-01-28be consistant about the use of "BULK> " as the prompt relating to the bulkdmcmahill1-15/+15
build system instead of a mix of ">> " and "BULK> ". replace a few foo -> ${FOO}
2001-01-28Initial commit.dmcmahill1-0/+178
tflat is a small awk script used to flatten a dependency tree. It can process a tsort(1) compatible input file and produce a flattened list showing all packages which depend on a particular package or all packages which are depended upon by a package. This is used by the bulk pkgsrc build system. Written by Dan McMahill after careful study of a perl program that does the same function in a nicer way written by Thomas Klausner <wiz@netbsd.org>. The reason for rewriting it without perl was to make it work with only in-tree utilities.
2001-01-28Initial commit.dmcmahill1-0/+64
printindex is a small shell script run from /usr/pkgsrc. It generates an index file which associates package directory (foo/bar) to package name (bar-3.2) for the entire pkgsrc tree. The index file is useful for processing of some of the dependencies during a bulk build. Written by Dan McMahill using a little bit of the code from printdepends.
2001-01-28always show depends in show-depends-dirs even if the package is broken.dmcmahill1-5/+1
2001-01-28more on limited-distributionitojun1-2/+3
2001-01-28give more description to ACCCEPTABLE_LICENSES items.itojun1-12/+30
2001-01-26Look for the latest libtool.skrll1-3/+3
2001-01-25Don't use a Dewey decimal relational operator when matching package namesagc1-2/+2
in the "show-downlevel" target, since a number of package names do not correspond to Dewey decimal version numbers (e.g. 2.4.1p1) Instead, use pkg_info(1) to retrieve the installed package name, and compare that against ${PKGNAME}. Fixes PR 12041, from Bernd Ernesti
2001-01-25Remove OVERRIDE_LIBTOOL code per discussion on packages.wiz1-10/+2
(There's no package that's not happy enough with OVERRIDE_LTCONFIG.)
2001-01-22make the show-depends-dirs target be robust for depends which havedmcmahill1-2/+4
their directories specified as :../foo instead of :../../bar/foo
2001-01-22make sure the libtool dependency caused by USE_LIBTOOL is in place fordmcmahill1-2/+2
the show-depends-dirs target.
2001-01-22add 'show-depends-dir' target. This shows the directories of the "top level"dmcmahill1-1/+21
depends for the package. Both build and run depends are shown. This is a non-recursive target. Ie, only explicitly depends are shown. Example: bondage 109 # cd /usr/pkgsrc/cad/geda && make show-depends-dirs cad/gschem cad/gnetlist cad/gsymcheck cad/geda-utils cad/geda-docs This target is useful for collecting dependency tree information for bulk builds.