Commit graph

89 commits

Author SHA1 Message Date
rillig
c060c9bc20 mk/help: run "make help" through the pager by default 2018-03-11 14:50:49 +00:00
rillig
7e49fb99d5 mk/help: sort keywords 2018-03-07 00:14:57 +00:00
rillig
03ae6d7a54 mk/help: ignore topics in lines that are indented by at least 2 tabs
The variable names are typically mentioned in one of these styles:

# Package-settable variables:
#
# VARNAME
#	Description

# Package-settable variables:
#
#	VARNAME
#		Description

Lines that are indented with two tabs contain text. And if one of these
lines starts with a variable name, it is just a coincidence. A practical
example of this happening is in mk/misc/developer.mk 1.24, where PKGNAME
starts a line of description.
2018-03-06 23:49:37 +00:00
rillig
06317929ae Improved documentation for "make help".
The check for target(help) prevents a warning when "make help" is run from
a category directory.
2018-01-07 11:23:37 +00:00
rillig
06a71adf6e Improved index generation for "make help".
The index is sorted alphabetically and mentioned in a plain "make help"
call.
2017-10-31 16:24:42 +00:00
wiz
e8ec446a6d Get rid of INSTALLATION_PREFIX. 2016-06-19 20:03:09 +00:00
wiz
5605293df9 Remove support for USE_CROSSBASE. 2016-06-19 18:01:58 +00:00
leot
69c74af7e6 Get rid of the XXX trying to provide a bit more information regarding
PKG_VERBOSE.

PKG_VERBOSE currently is mostly used consistently in order to pass the `-v'
option to various commands (FETCH_CMD, PATCH, plist/doc-compress,
pkg_delete(1)).
It is also used internally (and a bit less consistently) in other cases to
provide more information mostly useful only for debugging.

ok <bsiegert>
2016-06-06 15:13:24 +00:00
joerg
bb6f5a8d35 Rewrite somewhat in light of the non-DESTDIR removal. 2016-04-10 15:15:45 +00:00
joerg
af3ac5987c PKG_DESTDIR_SUPPORT=none is gone. 2016-04-10 15:09:26 +00:00
leot
1bcc4f4422 Add keywords to print/texlive/package.mk and instruct mk/help/help.mk to also
look for print/texlive/*.mk files for help.

Now documentation regarding TeX packages for pkgsrc MAINTAINERs and
developers is easily accessible via the "help" target.

ok wiz@
2016-02-01 18:47:23 +00:00
wiz
0d10e4a090 Look in lang/go/*.mk for help topics too. 2015-12-27 19:41:29 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
joerg
5846252bb2 Add one more variable that controls PREFIX. 2015-07-04 15:46:18 +00:00
wiz
e5bc6be59d Sort, and add a keyword. 2015-04-25 11:28:08 +00:00
joerg
cd74494def Add a new ulimit modifier for cputime. Support raising limits for
package creation.

There are very few things in pkgsrc that needs more than one hour per
process on decently fast hardware, so setting that as (soft) limit for
bulk builds avoids the infinite loops seen in some other packages. There
are a few select exceptions, i.e. flightgear-data needs more than one
hour for pkg_create when using xz. This flag allows selectively giving
those places more time without wasting resources in the broken cases.
2015-04-21 17:01:55 +00:00
rillig
63823525fb Added "bmake help" documentation for using libtool and pkg-config. 2015-03-11 19:24:44 +00:00
dholland
de73f20ecb Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as per
discussion on tech-pkg.

BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that
(now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM
sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM
correspond in the same way.

The idea is that going forward we will distinguish unbuildable
packages that theoretically ought to be fixed (these are BROKEN) from
packages where it doesn't make sense to build (these are NOT_FOR)...
examples of the former include most non-64-bit-clean packges; examples
of the latter include OS-specific language bindings.

A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM
(converting many of them to BROKEN...) is coming up.

Similarly, a general review of the uses of PKG_FAIL_REASON and
PKG_SKIP_REASON is coming up.

For this to become useful, pbulk needs to be taught to report failing
and skipped packages differently - the idea is that failing packages
should be reported up front and skipped packages don't need to be. This
has not been done yet, but one set of things at a time...
2015-01-01 06:06:06 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
rillig
054f4eb585 Up to now there was no way to get help on pkgsrc internal variables,
like _PKG_VARS. Since there exists documentation on these internal
variables, it should be found by "bmake help".
2013-08-31 21:27:53 +00:00
rillig
b8c82a0f46 Typo 2013-08-31 20:44:43 +00:00
asau
a2349b2c4b Introduce explicit name for no staged installation support: "none".
Keep "none" a default value for PKG_DESTDIR_SUPPORT for now.
2012-08-14 15:27:07 +00:00
obache
fa6e115b13 not USE_BSD_MAKE, it's a USE_BSD_MAKEFILE. 2010-09-29 11:40:43 +00:00
joerg
99151b3674 Rename the install phase to stage-install. Introduce a new install
target that defaults to either stage-install or package-install,
depending on whether DESTDIR support is active and supported by the
package or not.
2010-02-24 22:53:34 +00:00
rillig
87255936f0 Re-enabled the detection of variables as they appear in
mk/defaults/mk.conf. I don't know when I removed it accidentally.
2009-05-15 21:10:31 +00:00
rillig
a9d36d2419 Added documentation for UNLIMIT_RESOURCES. 2009-05-10 16:10:18 +00:00
joerg
c34f3d0f89 Make USE_DESTDIR=full the default value and retire the option. 2009-05-09 14:59:08 +00:00
rillig
8e38291c82 typo 2008-09-15 22:05:28 +00:00
joerg
135d1550d6 Remove long outdated comment about full destdir not working completely. 2008-08-10 17:39:15 +00:00
joerg
d092c3def3 Make it more explicit that PKG_DESTDIR_SUPPORT and as side effect
META_PACKAGE must be set before including bsd.prefs.mk.
2008-06-16 15:10:48 +00:00
rillig
d63608279e Eliminated a needless check. 2008-02-20 10:42:21 +00:00
rillig
739578d240 Changed the order of the checks for automatic keywords, so that the
latter checks are not run that much.
2008-02-20 10:40:42 +00:00
rillig
1b593da1e6 Documented the pkgsrc online help. 2008-02-19 22:25:23 +00:00
rillig
56564adfe7 Rewrote the help file parser a little bit, so that the definitions from
defaults/mk.conf can be found again. (The words didn't end with
[A-Za-z0-9], but rather with "?=".
2008-02-19 22:12:00 +00:00
rillig
8a2e6d3e9e Removed outdated comment. 2008-02-12 07:16:40 +00:00
rillig
f6a6d83987 Explained the evolution of mount(2) in NetBSD and how to deal with it. 2008-01-19 23:00:49 +00:00
rillig
9eea97260c Renamed some *.mk files to *.help, since they only contain comments. 2008-01-19 22:41:47 +00:00
rillig
99d04d6d77 Added a file where difficulties using specific C functions can be
documented. The first one is mremap(), since its prototype differs
between Linux and NetBSD.
2008-01-19 22:37:47 +00:00
rillig
e874c5ae78 Explained the difference between an lvalue and an rvalue.
Documented the __STDC__ macro, especially Sun's implementation.
2008-01-10 02:34:09 +00:00
rillig
279137b7ab C compilers also emit error messages that are worth being explain. 2008-01-06 19:13:31 +00:00
rillig
e6d2d54c02 Explained an error message from g++ that occurs quite often. 2008-01-06 18:03:16 +00:00
rillig
cf4165832c Upper-case keywords may also end with a colon. This is used in
mk/check/check-portability.mk.
2008-01-05 19:48:27 +00:00
rillig
f07e60916d Rewrote the help parser. You can get a list of all help topics by
running "bmake help topic=:index" now. This change is in preparation of
importing this help into the pkgsrc guide. There are still too many
false positives to be useful.
2008-01-05 17:55:48 +00:00
rillig
4d3b9ab24d Instead of just recording whether a topic is relevant or not, collect
all applicable keywords (like variable names, make targets or explicit
keywords). This will help printing an index of all keywords.
2008-01-05 17:01:23 +00:00
rillig
b79b4beba7 Made "bmake show-help topic=show-var" (and probably some others) work
again.
2007-12-13 11:48:38 +00:00
rillig
8ef5c2cbb1 More examples of "Undefined Symbol" from Solaris 10. 2007-11-29 09:13:30 +00:00
rillig
2154cd740b + asprintf 2007-11-23 01:29:28 +00:00
rillig
78d783e57a Added gethostbyname and socket. 2007-11-20 18:45:07 +00:00
rillig
02fdd1ce8e Added help about the BROKEN_GETTEXT_DETECTION variable. 2007-11-20 11:14:51 +00:00
rillig
bc38d93c53 Replaced the use of gensub() with sub(), since the former is not
mentioned in The Open Group's specification of awk. Specifically,
FreeBSD's awk doesn't have it.
2007-11-13 16:52:39 +00:00