Commit graph

1138 commits

Author SHA1 Message Date
schmonz
6b009865ac Fix a couple misspellings, and add a couple items:
* Check for parallel files/dirs whose names differ only in case
    (suggested by heinz)
* Check for German text in pkgtools/pkglint/TODO.
2007-05-29 01:35:05 +00:00
rillig
f132950ac5 Added another helpful sentence to the explanation of the "tool vs.
${TOOL}" note.
2007-05-13 21:43:26 +00:00
rillig
6b0ed48ef1 Added BSDOS to the list of supported operating systems and sorted the list. 2007-05-01 11:16:22 +00:00
tnn
076fd593ff Update to 4.77. (hi Roland!)
Teach pkglint about OSF1 and HPUX.
2007-04-24 15:32:12 +00:00
rillig
6c9e6ae8ec Before using any variables in .if conditionaly, bsd.prefs.mk should be
included. In the special case of the BATCH variable, this does not make
a difference, since it is set via an environment variable.
2007-04-15 23:02:04 +00:00
rillig
77b2375207 Removed the "Internal pkglint errors" when parsing complicated Make
variable expressions. These expressions are skipped completely and not
checked for anything.
2007-04-15 22:58:49 +00:00
schmonz
909d575bca Grok the "scm" category. 2007-03-24 05:36:20 +00:00
rillig
79904b0bc1 Added INSTALLATION_DIRS_FROM_PLIST, MAKE_JOBS and MAKE_JOBS_SAFE. 2007-03-18 23:09:53 +00:00
rillig
8a4b673279 Added PKG_DBDIR and RUN. 2007-03-09 03:37:59 +00:00
rillig
8198675ddd INSTALLATION_DIRS_FROM_PLIST is more comfortable than specifying
INSTALLATION_DIRS explicitly. It also removes some redundancy.
2007-03-09 03:02:35 +00:00
rillig
3e25aa3847 Shortened the code. 2007-03-08 17:42:56 +00:00
wiz
62e1f47645 Remove duplicate LIB_DEPENDS line and add SCRIPTDIR, NO_PKG_REGISTER, and
NO_DEPENDS.
2007-03-02 06:02:11 +00:00
wiz
fc3f7b9811 Remove support for obsolete and unused NO_PKG_REGISTER. 2007-03-02 05:54:18 +00:00
rillig
df2156eeea Explained a warning that wiz just asked me about. 2007-02-23 01:46:02 +00:00
rillig
3dde1baf1c Added the category "filesystems". 2007-02-21 01:38:53 +00:00
uebayasi
058c3e37b5 pkglint-4.76; teach emacs22{,nox}. 2007-02-20 12:38:32 +00:00
rillig
a9998c791b Fixed the detection of ": Avoid regenerating within pkgsrc". 2007-02-20 10:14:55 +00:00
rillig
9e1364fceb The IRIX identification macro is __sgi.
Rewrote the shell parser to handle backticks recursively. This would
have found the recent quoting bug in mk/flavor/pkg/depends.mk.

The RUN make(1) variable is correctly identified.
2007-02-19 12:06:03 +00:00
rillig
ce49e0fc5b Added PGSQL_PREFIX. 2007-02-15 23:53:16 +00:00
rillig
54ae1fc8ab Added a new data type for CVS Entries lines.
The ": Avoid regen" configure patch must not be committed to CVS.
2007-02-15 23:52:52 +00:00
joerg
6df0f6f093 Another wish item: configure patches should not contain the pkgsrc
magic.
2007-01-30 20:32:23 +00:00
rillig
ce89e57f1e Added apache22. 2007-01-30 18:56:46 +00:00
rillig
faf5a058fd Oops, I forgot to add the dependency to p5-enum.
That makes pkglint go to version 4.75.
2007-01-30 18:41:26 +00:00
wiz
ba797d8804 Accept kde3-1.0 in USE_DIRS. 2007-01-28 09:23:35 +00:00
rillig
0fcfab4ebe Fixed a NullPointerException.
The Perl module "enum" is handy for reducing the size of the source code.
2007-01-25 04:43:31 +00:00
rillig
c2fa5fa72d Don't warn if user-defined variables are used in .for loops. 2007-01-24 05:05:27 +00:00
rillig
cc7fbeed94 Clarified the explanation of the warning regarding the load-time
evaluation of variables.
2007-01-23 19:21:56 +00:00
rillig
d5b5fbc9f8 Some of the TODO entries have been done. 2007-01-18 18:37:38 +00:00
rillig
5acfb0b6ca Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?
2007-01-17 03:11:18 +00:00
rillig
5b266ca985 Now it's possible to define optional sections when checking the variable
order in package Makefiles. This allows for a legal section, which is
also added. I'm not yet sure about the correct order of all these
variables.
2007-01-15 08:45:59 +00:00
rillig
39f0e18877 Added some new variables. 2007-01-15 08:44:39 +00:00
gdt
671b078c9d * Warn if LICENSE/RESTRICTED/NO_*_ON_* are misordered. 2007-01-11 19:09:50 +00:00
joerg
7575c0c213 From the discussion in #pkgsrc of build problems of wip/gxmms2:
Packages using lang/python/extension.mk must follow the naming scheme
or otherwise they can't be depended on.
2007-01-11 18:39:34 +00:00
rillig
51bd9ae06d Fixed the definition of Python-related variables. 2007-01-06 14:19:40 +00:00
rillig
15030772f7 No substitutions are needed for the pkglint manual page.
Re-added a post-install selftest to detect syntax errors in pkglint.pl.
2007-01-06 13:31:26 +00:00
rillig
ba6bc78e7a Added code to check for shared directories from the *-dirs packages. 2007-01-04 13:00:58 +00:00
rillig
d3e25da894 Fixed a little inconsistency (log_error/explain_warning). 2007-01-03 20:48:41 +00:00
rillig
0e9dbd1f6b Outside of packages, the :M* operator has to be used sometimes.
When .PHONY appears as the source in a dependency line, all targets are
considered "virtual" targets.
2007-01-02 23:01:24 +00:00
rillig
e36a2e4ab4 Converted NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM from List to
InternalList, so they can be used in .for loops.
2007-01-02 23:00:11 +00:00
rillig
e68e0d458e In PYTHON_VERSIONS_ACCEPTED, all version numbers should be in decreasing
order, so that the newer ones are selected more often.
2007-01-02 22:27:44 +00:00
rillig
653a8382d0 + MASTER_SITE_GENTOO 2007-01-02 13:14:39 +00:00
joerg
1f50db5f15 PostgreSQL-7.4 support is about to be removed. 2006-12-27 15:52:16 +00:00
wiz
af21103725 xdg-1.4 is valid. 2006-12-16 10:59:52 +00:00
joerg
f3a63b6466 DESTDIR support. 2006-12-15 17:35:20 +00:00
rillig
d69c6cc741 In buildlink3.mk files, bsd.fast.prefs.mk should be included instead of
bsd.prefs.mk.

Fixed the regular expression for buildlink3.mk files containing
PKG_BUILD_OPTIONS code.
2006-12-12 22:13:38 +00:00
rillig
9c7ddd7ed8 Added c99 to the list of known languages.
Following existing practice, the variable PKG_BUILD_OPTIONS.* may be
queried in buildlink3.mk files in the .include section, and no warning
is generated anymore.
2006-12-12 21:56:44 +00:00
rillig
35fca5aa5f Fixed the Assertion error on .include lines that end in trailing
white-space.

Instead of including intltool/buildlink3.mk directly, a simple
USE_TOOLS+=intltool suffices.
2006-12-06 23:42:43 +00:00
wiz
d7690480e8 texmf-dirs is up to 1.4. 2006-12-06 00:46:27 +00:00
rillig
6fee6d8ef6 Added the CHECK_* variables. 2006-12-01 21:17:08 +00:00
rillig
f9e735a070 Fixed some typos in the pkglint documentation. Reported by OKANO
Takayoshi in a private mail.
2006-11-25 20:27:42 +00:00