summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-03-11GNU tar is /usr/bin/gnutar.yyamano1-2/+2
2002-03-10Typo and whitespace fix.seb1-3/+3
2002-03-10Add default for _GTEXINFO_PREFIX.seb1-1/+2
2002-03-10Some tweaks to "fetch" and "fetch-list" re: DYNAMIC_MASTER_SITES:fredb1-5/+31
- - For "fetch", move the assignment of the "getsite.sh" script to a more natural place, to get the full benefit of, and consistent handling for, setting MASTER_SORT and MASTER_SORT_REGEX - - For "fetch-list", embed the "getsite.sh" script into the generated script, so that the calculation can be properly done at run-time. ("fetch-list" also respects MASTER_SORT and MASTER_SORT_REGEX.)
2002-03-08Minimize the amount of stuff guarded by ${_USE_RPATH}.jlam1-2/+2
2002-03-08Use some new conventions (changes not user-visible):jlam1-5/+11
FOO_SED is user-appendable. _FOO_SED = ${_FOO_PRE_SED} ${FOO_SED} ${_FOO_POST_SED} _FOO_SED is used when actually making sed(1) substitutions. This allows tweaking _FOO_{PRE,POST}_SED to alter the total sed expression.
2002-03-07Make fetch-list work on Darwin.yyamano1-5/+5
* Use ${MAKE}. On Darwin, we use bmake, not make. * Replace PWD with WD. Darwin's sh is zsh and we can't override PWD.
2002-03-07Whitespace fix.seb1-2/+2
2002-03-06Mention ms-ttf-license in the list of ACCEPTABLE_LICENCES.seb1-1/+4
Add the license for the ms-ttf package.
2002-03-06Do not blindly assign to EVAL_PREFIX! How come I was not bitten by this ?!seb1-2/+2
2002-03-06Garbage collect "check-depends", as discussed on tech-pkg. The oddly namedfredb1-14/+2
"check-depends" target is what used to install dependencies before fetching any files. ("install-depends" continues to perform that function for the other main targets.)
2002-03-05Mention graphviz-license in the list of ACCEPTABLE_LICENCES.seb1-1/+4
Add the licence for the graphviz package.
2002-03-05Sort the ACCEPTABLE_LICENSES template entries.seb1-46/+46
2002-03-04Use <pre> to surround build logs - monospaced fonts are so much more readable.hubertf1-10/+10
OK'd by Dan McMahill
2002-03-04Generalize the handling for packages where "fetch" and "fetch-list"fredb2-36/+52
only emit a message and don't actually fetch anything. This allows us to make the output of "fetch-list" for these packages consistent with other packages. While we're in here, integrate DYNAMIC_MASTER_SITES with the ${ORDERED_SITES} macro. The only functional change here is that ${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something appropriate for "fetch-list" for these packages, like sourcing "getsites.sh" into the generated script. (Well, "package", but there are two others that do something similar in their "Makefile".) Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only "fetch" uses it, move it's functionality directly under "do-fetch".
2002-03-04Redirect errors from grep in fake-pkg to /dev/null so complaints about notjmc1-2/+2
being able to grep on a dir don't fly by and confuse people.
2002-03-04Add two new EXPERIMENTAL targets:agc1-1/+68
replace - this target updates a package in place, fixing up references to and from other packages to the updated package. undo-replace - undoes all the work of the previous replace operation. For this target to work, the ${WRKDIR} must be preserved. The replace target first makes a binary package of the existing installed package, then a copy of the +REQUIRED_BY file is taken, if it exists, and then the existing package is deleted. The new package is installed, and the preserved +REQUIRED_BY file is copied back into place, using its contents to modify the +CONTENTS files of all the packages which require it. The undo-replace shares code with the replace target, and does the same operation, but in reverse. Warnings are displayed when either of these targets is used, since they are experimental targets right now.
2002-03-04Adding PLIST filtering based on MANINSTALL's content for the shakeseb1-1/+15
of BSD-makefile'd packages. By tuning MANINSTALL, passing it to a package's build process by way of MAKE_ENV, one can retains the man related entries in ${PLIST_SRC} while keeping a correct generated ${PLIST}. This is mostly intended for packages being compiled on non-NetBSD platforms when "andoc man pages" are difficult or impossible to process i.e. depending on groff package is not realistic.
2002-03-03Add SILC_CLIENT_WITH_PERL, for silc-client 0.8 and uphubertf1-1/+6
2002-03-02Use show-all-depends-dirs-excl for build-depends-list target.wiz1-6/+6
Makes e.g. "make readme" awfully faster. TODO: Similar change for run-depends-list.
2002-03-01Require the new libtool.skrll1-2/+2
2002-03-01Fix for PR 15761 from Jonathan Perkin <sketch@rd.bbc.co.uk> - only printagc1-2/+4
the number of bytes about to be downloaded, as gleaned from the distinfo file, if a distinfo file exists.
2002-02-28Remove unused NEED_NCURSES code fragment.wiz1-5/+1
2002-02-28Comprehensive update to the fetch-list target (and friends), incorporatingfredb2-23/+164
many suggestions made by Bernd Ernesti on "tech-pkg". Closes PR pkg/15539. - - Partially revert 1.895, which made 'fetch-list' ape 'fetch', so instead check if a file exists on the building host before emitting anything for it into the generated script. Update to use the new 'fetch' procedure on the fetching host, once it is determined that the file is needed, and generally clean up the output, so that it's a human readable shell script with comments. - - Introduce utility target 'show-all-depends-dirs', to do the necessary recursing over dependencies quickly and correctly. Add a couple of variations to show how it's done, and bracket the whole thing with ".if make()", so it's invisible to the dependency graph for all the other targets. The key improvement over the old way, is that it utilizes an "awk" associative array to guarantee that no package subdirectory is visited twice. For the package with the hairiest dependency graph, "x11/gnome", this leads to something like a 1,000-fold improvement! - - "sort -u" over the result of 'fetch-list-one-pkg' goes bye-bye. The new "awk" post-processor begins emitting output as soon as there is a file to fetch, so the user doesn't have to wait for the whole thing to finish before he sees anything. - - Get rid of the old hook for non-recursing for a top-level 'fetch-list', which was never used. Previously, a top-level 'fetch-list' couldn't work anyway, because the progress reports ruined the shell script. Remove 'fetch-list' from the targets that recurse from the top, and instead use a different 'fetch-list' target in "bsd.pkg.subdir.mk" to do the right thing. Currently, that right thing includes recursing in the single-category case, or if ${SPECIFIC_PKGS} is set, and not recursing in the top-level, all packages case (where it would be perfectly pointless).
2002-02-28When constructing the build version information, avoid problemsagc1-9/+13
when there is a filename with an embedded space in the directory. Fixes PR 15755 from Simon Burge (simonb@wasabisystems.com). Whilst I'm here, only include the build information for the package Makefile once.
2002-02-27Add _STRIPFLAG_CC and _STRIPFLAG_INSTALL to fix PR 15467.yyamano4-4/+24
I'll replace all STRIPFLAG in pkgsrc with STRIPFLAG_CC or STRIPFLAG_INSTALL.
2002-02-26Use massively simpler method to filter out libtool archives and get ridjlam1-12/+8
of the horrendous (non-portable) sed statement that did the same thing.
2002-02-25Print the size of the distfile before it is downloaded.agc1-1/+2
2002-02-25Explicitly recognize .tar.Z files so that they don't fall through intojlam1-2/+3
.Z handling.
2002-02-25* Turn _SHELL_EXTRACT into a "subroutine" for extracting an archive. Itjlam1-57/+55
extracts the contents of archive named by the shell variable "extract_file" based on the file extension of the archive. The contents are dumped into the current directory. * Unify the EXTRACT_CMD handling. We now define the default EXTRACT_CMD to be ${_SHELL_EXTRACT} (see above). Otherwise, if it's already defined in the package Makefile, then that EXTRACT_CMD is used to extract all of the archives. * Rearrange the locking code so that it's localized instead of interspersed in the extraction code. * Add EXTRACT_CMD definitions for files that are only compressed (foo.c.gz) that decompress the file into ${WRKDIR}.
2002-02-24Add share/locale/is (for guppi).wiz4-4/+20
2002-02-18Introduce new framework for handling info files generation and installation.seb2-14/+90
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2002-02-16Don't mention 'Letterdj' as valid PAPERSIZE, pkg/15599.wiz1-2/+2
2002-02-15mkdir -> ${MKDIR}skrll1-2/+3
rmdir -> ${RMDIR} rm -> ${RM} (${RM} added to PLIST_SUBST) chmod -> ${CHMOD} chown -> ${CHOWN}
2002-02-13bin-install: use $MACHINE_ARCH over calling unamehubertf1-2/+2
2002-02-13n-install: use uname(1) over sysctl(1) to find out machine archhubertf1-2/+2
2002-02-13Implement DYNAMIC_MASTER_SITESabs1-1/+10
If you need to download from a dynamic URL you can set DYNAMIC_MASTER_SITES and a 'make fetch' will call files/getsite.sh with the name of each file to download as an argument, expecting it to output the URL of the directory from which to download it. graphics/ns-cult3d is an example of this usage.
2002-02-08Use unproven-pthreads/buildlink.mk instead of just depending on thejlam1-2/+2
package.
2002-02-07Create a new knob: PKG_SYSCONFVARjlam1-5/+17
PKG_SYSCONFVAR is the special suffix used to distinguish any overriding values for a particular package (see next item). It defaults to ${PKGNAME}, but for a collection of related packages that should all have the same PKG_SYSCONFDIR value, it can be set in each of the package Makefiles to a common value. PKG_SYSCONFDIR.${PKG_SYSCONFVAR} overrides the value of ${PKG_SYSCONFDIR} for packages with the same value for PKG_SYSCONFVAR. Package maintainers may want to set PKG_SYSCONFVAR to a common value for related packages, e.g. all of the amanda packages set PKG_SYSCONFVAR=amanda so that the PKG_SYSCONFDIR for all of them may be tweaked by just setting PKG_SYSCONFDIR.amanda in /etc/mk.conf.
2002-02-05/bin/mkdir -> ${MKDIR}.skrll1-2/+2
Make the print-PLIST target output ${MKDIR} also.
2002-02-05Don't hardcode /usr/X11R6 when making directories or running X basedskrll1-1/+4
programs such as mkfontdir use ${X11BASE} instead. Also pick up a couple of /bin/chmod -> ${CHMOD}s
2002-02-05Obsolete SSH_CONF_DIR in favor of PKG_SYSCONFDIR.jlam2-7/+7
2002-02-04Added SAMBA_USE_LDAPmartti1-1/+6
2002-01-31Deprecate POSTFIX_USE_SASL_AUTH in favor of more generic USE_SASL.jlam2-7/+11
2002-01-29In the show-vulnerabilities and show-vulnerabilities-html targets, tightenagc1-3/+3
down further the regexp used to match a vulnerable package.
2002-01-28Fix PR 15395, whereby a package entry in the vulnerabilities file,agc1-5/+7
which shared a common prefix with a package being installed, would erroneously be flagged as having a vulnerability. (e.g. samba and sam).
2002-01-28Make sure that the decompression/extraction programs needed arejlam1-4/+6
automatically DEPENDed if EXTRACT_SUFX is set to a known suffix but EXTRACT_ONLY is set to an empty value. This should fix the problems for audio/guspatches and textproc/iso8879 in the 2002-01-28 i386 bulk-build results.
2002-01-28We've changed DEPENDS=foo-* into DEPENDS=foo-[0-9]* everywhere else butjlam1-8/+8
here, so correct that oversight.
2002-01-27Prevent /etc/mk.conf from being included by BSD-style makefiles used byjlam1-1/+6
packages themselves, as /etc/mk.conf may contain harmful settings for package builds. Just to clarify, /etc/mk.conf is still included by the Makefiles in pkgsrc, just not by the Makefiles used to build the software itself. This should fix pkg/15297 by gabriel rosenkoetter <gr@grappa.eclipsed.net>.
2002-01-27MAKE_ENV is the make environment passed down to the build process. Itjlam1-6/+6
shouldn't be set as the environment for a make process invoked at the package (${.CURDIR}) level during the install phase because it can contain harmful settings.