Commit graph

1123 commits

Author SHA1 Message Date
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
rillig
33830ead6b + BSD_MAKE_ENV 2006-11-22 23:05:19 +00:00
rillig
2307fa4283 PKG_SKIP_REASON is marked as deprecated, since it is usually used to
mark a package as not being able to build, due to some fatal error. I
don't see any reason _not_ to use PKG_FAIL_REASON in those cases.
2006-11-18 08:20:44 +00:00
rillig
cd832065ea Variable names don't need to be quoted. 2006-11-09 23:59:35 +00:00
rillig
bb4e6a91dc Some minor tweaks; added DESTDIR. 2006-11-09 22:29:29 +00:00
rillig
f8debf1069 + SKIP_PORTABILITY_CHECK 2006-11-09 22:26:18 +00:00
joerg
5a7018c831 Add PKG_DESTDIR_SUPPORT to variable list. Bump to 4.73. 2006-11-01 09:14:45 +00:00
rillig
c57a04cdcf Added a warning that ${VARIABLES} in the DESCR file are not expanded.
(Requested in PR 34920.)

The warning about uncommitted patch files only appears when the distinfo
file is already committed.
2006-10-30 22:27:07 +00:00
rillig
9b4318c4ac Fixed a typo in the absolute pathname checks.
${PREFIX}/${PKGMANDIR} is preferred over ${PREFIX}/man.

{ONLY,NOT}_FOR_PLATFORM may appear multiple times in the package
Makefile.
2006-10-24 07:18:41 +00:00
abs
2486f53002 Update to 4.72: check for .tbz as well as .tgz 2006-10-23 09:19:31 +00:00
rillig
8c380e95aa Fixed a heading. 2006-10-22 05:26:41 +00:00
rillig
0e7520ad71 Absolute pathnames may appear in the form basedirvar + '/man1' in source
code.
2006-10-22 05:25:35 +00:00
rillig
a7a1d01bdf Added CHECK_FILES_SUPPORTED and some Postgres variables. 2006-10-18 20:54:22 +00:00
rillig
7b449192ed The absolute pathname /bin/sh is allowed, despite the Solaris /bin/sh.
The WRKSRC variable (among others) is checked to consist of ony one
word. The url2pkg tool had created lines like

    WRKSRC=         ${WRKDIR}/Makefile PLIST distinfo

in the past, which happened to work in most cases up to now, but really
shouldn't.
2006-10-17 21:42:46 +00:00
joerg
34eea79bcf ${MARCH_ARCH}-${LOWER_OPSYS}elf and related constructs should be fixed. 2006-10-12 13:58:48 +00:00
rillig
9e1e55709c When patch files are registered in the distinfo file, but not added or
committed to CVS, a warning is printed.
2006-10-07 07:57:04 +00:00