summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-03-18Append "elf" to ${MACHINE_GNU_PLATFORM}, for NetBSD archs that were oncefredb1-2/+20
a.out but are now ELF, in a way that's consistent with bsd.own.mk in NetBSD-current. This, incidently, makes the gcc package build again on NetBSD-1.5.3_ALPHA/i386.
2002-03-17"ftp.cdrom.com" evidently no longer mirrors CTAN.fredb1-2/+1
2002-03-16Allow restarting a chrooted build:hubertf1-2/+2
sh mk/bulk/do-chroot-build restart
2002-03-15Allow INSTALL/DEINSTALL scripts to use ${INSTALL_INFO}.jlam1-1/+6
2002-03-15Invent a new variable "PKGNAME_NOREV" which holds the package name withouttron1-2/+5
the package revision added. Replace "PKGNAME" in package list with this value because the installed software doesn't know anything about package system revision. This fixes package list problems in e.g. the "xemacs" package.
2002-03-15Partitally backout revision 1.932:tron1-2/+2
We *must* record the version of "${.CURDIR}/Makefile" because we otherwise only record the version of the wrong "Makefile" e.g. "x11/xscreensaver-gnome/../xscreensaver/Makefile" for the "xscreensaver-gnome" package. This will break the update target horribly.
2002-03-14Always append to TEXINFO_SUBST_SED. It was my original intend thatseb1-2/+2
a package creator can add package specifics sed commands to it. Noted by Masao Uebayashi in private email, Thanks!
2002-03-14make _PATCH_BACKUP_ARG be more useful to callers by moving "-V simple"lukem5-10/+10
definition to be part of it instead of appending to PATCH_ARGS. otherwise, $VERSION_CONTROL or $PATCH_VERSION_CONTROL would still override -b/-z.
2002-03-14nuke /var/wwwoffle - pointed out by fred bruckmanhubertf1-1/+2
2002-03-13Remove one, and add four CPAN mirrors, more or less randomly chosen all overwiz1-2/+5
the world.
2002-03-13Move documentation where it belongs.hubertf1-13/+2
Add paragraph "Setting up a sandbox for chroot'ed build" to Packages.txt and xref it from do-sandbox-build script
2002-03-12Fix PR 15755 from Simon Burge (simonb@wasabisystems.com) properly.agc1-13/+9
When constructing the build version information, avoid problems when there is a filename with an embedded space in the directory. With thanks to Stoned Elipot for the practical help.
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.