summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2007-06-19Fix typo in comment.wiz1-2/+2
2007-06-19Reorder SUBDIR list slightly to give parallel scans a change to runjoerg1-2/+5
the very slow jobs in x11 when other jobs are available for processing. Some packages need up to 10min for pbulk-index on my build system and the reorder reduces the overall scan time with 4 clients from 35min to 30min. Discussed with jlam@.
2007-02-20Add the new filesystems category, as proposed on tech-pkg.agc1-1/+2
2007-01-07The tool definitions must come before including bsd.prefs.mk. Pointedrillig1-1/+15
out by wiz.
2007-01-06Moved the make targets from the top-level Makefile to their own file,rillig1-190/+25
mk/misc/toplevel.mk. Added a bit of documentation.
2006-12-29Change the way INDEX is used by dropping the dependency on PKGDB injoerg1-3/+6
INDEX and calling it directly. As the output is removed anyway, it forced a full rescan on every "make search". Calling "make index" still regenerates it all the time, but the other targets don't. OK wiz@ PRs: 26442, 34207, 35266
2006-07-02Fixed some pkglint warnings: Use ${ECHO_N} instead of echo -n andrillig1-5/+5
surround the sed command in the last line by single quotes.
2005-09-28Added a comment to the "regress" category.rillig1-2/+2
2005-09-01Indented the SUBDIR section to look like the SUBDIR sections in therillig1-43/+43
category Makefiles.
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam1-5/+5
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
2005-06-06Add the crosspkgtools category.kristerw1-1/+2
2005-06-01Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicatorwiz1-5/+5
that a package support IPv6 (for the README-IPv6.html generation).
2005-05-17Rework the README.html generation code. Major changes are:dmcmahill1-15/+3
- completely redo the code which decides on the machine architecture, operating system, and operating system version for the binary packages. The old way just used to directory names to take a guess. The new way creates a cache file containing meta-data for all the binary packages in each "All" directory. This cache file is consulted when generating the lists of available binary packages. The meta-data is obtained with pkg_info so it should always be correct even if you do something silly like mix OS_VERSION or MACHINE_ARCH packages up in the same directory. Among the benefits are: works when PACKAGES is not $PKGSRC/packages, works with a more or less arbitrary subdirectory structure, works when there are subdirectories for multiple operating systems. This portion of the fix should address PR25390. The cache files are only updated when the contents of an "All" directory changes or if the cache file format changes. There is some room for improving the updating of the cache files, but its not too bad the way it is. - fix up some of the awk code so that generadme.awk works with Solaris nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems). - remove some "if ! foo" shell constructs to increase portability. - be more consistent with what variables get passed to mkreadme from make and which ones are determined automatically. Mostly this meant moving stuff into mkreadme to make it easier to run it standalone.
2005-05-16Fix typo and remove duplicate word.wiz1-3/+3
2005-05-16Note the tools used by /usr/pkgsrc/Makefile.jlam1-4/+8
2005-05-14List the tools that are used by the files included by /usr/pkgsrc/Makefile.jlam1-1/+7
This causes the relevant "TOOL" variable names to be defined by bsd.prefs.mk (through including mk/tools/defaults.mk).
2005-02-14Fixed two quoting errors. Where $pkgdir had been written, $$pkgsrc had beenrillig1-3/+3
meant. Approved by jlam.
2004-10-07* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,jlam1-5/+2
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-08-27Add a new "regress" category for pkgsrc regression testing code. Wejlam1-1/+2
don't descend into this directory for anything since these packages aren't packages in the normal sense, since they're not expected to install or package correctly.
2004-03-26Add show-deps target:wiz1-1/+9
List all packages that depend on a particular package; needs the INDEX file Usage: 'make show-deps PKG=openssl' PKG: name of the package No make dependency on INDEX by purpose, since INDEX generation right now happens too often (too much phoniness, I guess).
2004-02-28make PKGDB target .PHONY, so it is always rebuiltgrant1-1/+2
2004-02-28s/Port/Pkg/grant1-3/+3
2004-01-26Add a multimedia category. Ok'ed by agc@.jmmv1-1/+2
2003-10-04Add a geography category, in anticipatino of a number of pending packages.agc1-1/+2
2003-09-16Abort "make readme-all" before it fails (when there are no README.html filesjmmv1-1/+6
available) and tell the user what to do. Addresses PR pkg/22413.
2003-07-25style nit:grant1-3/+3
target:<space>depends, not <tab>
2003-07-25index target improvements:grant1-12/+13
* rename DEPENDSDB to PKGDB * move build of PKGDB to its own target so make(1) removes it if it bombs. ok'd by dmcmahill@.
2003-07-23rework the INDEX file generation. The new approach speeds up things bydmcmahill1-7/+41
several orders of magnitude and 'make index' now takes 30 minutes or so instead of several days on my test machine. The approach now is to take one pass through every package and extract some key information including the explicitly listed dependencies. After the data is extracted, the dependencies are flattened in one step which avoids the extremely inefficient recursive make that was previously used.
2003-06-30Sort SUBDIRs properlyhubertf1-2/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-2/+2
2003-05-03Also include ${USER_ADDITIONAL_PKGS} in ${SUBDIR}. This makes it easycjep1-1/+5
to add local directories to the build hierarchy (e.g. wip, local).
2003-02-09s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586.wiz1-2/+2
2003-01-05Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use thedmcmahill1-1/+35
new and much more efficient code. Previously a 'make readme' took over 3 weeks on my SS5 and now takes < 3 hours. The number of make calls has been reduced from somewhere over 1,000,000 to one per package which is around 3,000. The mk/scripts/mkreadme script does all the work now. This script has been used in standalone form for a month or two on ftp.netbsd.org and has had no problem.
2002-12-15Do not use commands directly, use ${COMMAND} instead.salo1-30/+27
Remove continuous blank lines.
2002-12-01use = instead of ?= when setting _PKGSRCDIR during the bulk-cache target.dmcmahill1-2/+4
Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation fails. This didn't show up before because formerly _PKGSRCDIR was previously set in bsd.pkg.mk instead of bsd.prefs.mk as it is now. Should fix bulk build dependency problems noted recently by Hubert.
2002-09-24Some whitespace cleanup.wiz1-6/+6
2002-05-31Retire japanese category.seb1-2/+2
Add the inputmethod category. This is part of the japanese category retirement.
2001-12-17replace some leading spaces with leading tabs.dmcmahill1-6/+6
2001-12-17- add 'bulk-cache' and 'clean-bulk-cache' targets to create and removedmcmahill1-1/+9
the cache files used during a bulk pkgsrc build. - replace the code in the build script that used to create the cache files with a 'make bulk-cache' call.
2001-07-17Use better expressions for grep, to avoid tagging non-IPv6 enabled packageswiz1-2/+2
as IPv6-enabled. Fixes pkg/13394.
2001-02-27echo -> ${ECHO}hubertf1-11/+11
2000-12-17Move lots of packages to new time category; fix links; add time subcategorywiz1-1/+2
to main Makefile.
2000-12-15Move packages from 'net' into new 'chat' category. Add chat to main Makefile.wiz1-1/+2
2000-12-14Retire plan9 sub-hierarchy.wiz1-2/+1
2000-12-12Added wm category to main Makefile; remove packages that have been movedwiz1-1/+2
from x11 to wm; fix paths in packages that depend on the moved ones.
2000-12-11Add new finance category to main Makefile; remove moved packages from oldwiz1-2/+2
locations (moved to finance).
2000-09-07Revert last change. I only tested this on netbsd-1-4; it doesn't seem tofredb1-2/+1
work on netbsd-1-5 at all.
2000-09-06Introduce a new category, "crypto", with a special property: If the userfredb1-1/+2
sets MKCRYPTO=no, packages in this category won't be fetched, installed, built, or packaged. Also, binary package users forbidden, by law, from using strong cryptography would presumably find the list on the category's automatically generated web page useful for ensuring compliance.
2000-05-12Add and enable fonts.sakamoto1-1/+2
2000-05-12Remove empty corba category.agc1-2/+1