Commit graph

2711 commits

Author SHA1 Message Date
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
2a0fd3355d Use more markup. New sentence, new line. Various minor improvements. 2006-12-06 10:41:29 +00:00
rillig
ae41f12b9e Updated url2pkg to 2.2.
Reduced the number of external calls to find(1).
2006-12-06 01:00:41 +00:00
xtraeme
e30fe0802f Ugh, wrap long lines. 2006-12-06 00:54:25 +00:00
wiz
d7690480e8 texmf-dirs is up to 1.4. 2006-12-06 00:46:27 +00:00
gdt
e9d9b95f94 add pkg_rolling-replace 2006-12-05 18:24:39 +00:00
gdt
d2d7243e5b pkg_rolling-replace does 'make replace' on one package at a time,
tsorting the packages being replaced according to their
interdependencies, which avoids most duplicate rebuilds.
2006-12-05 18:23:52 +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
joerg
926c76ceeb DESTDIR support. 2006-11-14 16:11:10 +00:00
jschauma
4b05d984b2 Address PR pkg/34966 as suggested by Oliver Gould and apply the same
logic to all platforms:
Some packages (such as math/gap) create wrappers based on the name of
the compiler, so ${CC} should not contain any flags.  Move flags into
CFLAGS.
2006-11-11 18:24:52 +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
tron
40e49f88e1 Update "pkg_chk" package to version 1.83:
Do *not* use "TMPDIR" variable. If the user has already set an environment
variable "TMPDIR" it well be overwritten my the path to the directory
created by the script and passed to "make". As a result it will get
compiled into certain packages (e.g. "sysutils/dbus") which will no
longer work after the directory has been removed.
2006-11-05 21:53:27 +00:00
joerg
611e7f92de Merge add/extract.c, rev 1.39:
If a plist contains @owner or @group entries and first rename failed,
  pushout was called with NULL argument. This has the semantic of using a
  working directory of "/", even though already read plist entries are
  relative to prefix. The calls to chown and chgrp therefore end up with
  the wrong arguments for the current directory. To compensate for this,
  don't pushout the first time. As plists are not supposed to have
  multiple @cwd entries anymore, this could most likely be simplified, but
  that is outside the scope of this commit.

Merge lib/plist.c, rev 1.51:
  When processing symlinks in pkg_delete and the call to readlink failed,
  it often helps to know why, so use warn instead of warnx.

Bump version to 20061103.
2006-11-03 09:35:14 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +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
erh
ea1b3e37b8 Fix pkg_tarup -a so it recurses to actually get all dependent packages.
Bump version to 1.6.6.
2006-10-29 07:50:27 +00:00
wiz
0c2e68db44 Some more HOMEPAGE/MASTER_SITES updates from Sergey Svishchev. 2006-10-28 21:29:47 +00:00
rillig
7a70e6ce93 Updated pkg_filecheck to 0.3.
Bugfix: When allocating more memory, it does not help to double the
amount if the current amount is zero.
2006-10-24 19:23:38 +00:00
rillig
89a1686950 Fixed PKGMANDIR. 2006-10-24 18:19:22 +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
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +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
rillig
f5f25f88de Added a check that suggests using meta-pkgs/kde3/kde3.mk instead of
hand-tuning the directories where KDE files are installed.
2006-10-06 18:58:55 +00:00
rillig
1f3af58308 Improved the heuristics for absolute pathnames. 2006-10-05 21:09:31 +00:00
rillig
0e60547a68 In package Makefiles, SITES.* should be defined right below DISTFILES.
Added an explanation for why ${DESTDIR}/foo is considered an absolute
pathname.
2006-10-05 12:25:38 +00:00
rillig
c71e131798 This package cannot use CHECK_FILES because it is one of the two that
sets PREFIX=/.
2006-10-05 08:51:59 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
reed
1779642046 Update PKGREVISION.
Make sure use PKG_SYSCONFDIR for the "etc" sed expression.
Also do the SUBST_SED on the configuration example file too.
2006-10-03 20:53:38 +00:00
reed
4cf5ada443 Honor PKGMANDIR insetad of hard-coded path. 2006-10-03 20:27:47 +00:00
rillig
26d41e536c Updated url2pkg to 2.1.
Changes since 2.0:

- Made the dependency detection for Perl modules work again. The code
  does not assume to be run in a special directory anymore.

- Perl modules that use the prompt() function to query the user
  interactively can be handled. All questions are assumed to be answered
  by just pressing <enter>.

- Made url2pkg more robust when interpreting the output of MakeMaker.pm.
  Many Perl modules write additional things to stdout during the
  generation of the Makefile.

- The language for the *.f files is "fortran", not "f".

- Fixed the regular expression for prdownloads.sourceforge.net links, so
  that the distfile name is properly extracted.
2006-10-02 19:39:24 +00:00
abs
dd11e141d0 Update pkgtools/pkglint to 4.71 - lintpkgsrc changes:
- Handle 'badly named' patch files
  - In the event of a distint checksum mismatch, report the affected file
    as well as package
  - If we need to call out to make to parse a makefile and it returns any
    errors, ensure we prefix the error output with the Makefile path
  - run through perltidy. Ugly, but consistent
2006-10-02 19:35:43 +00:00
rillig
19beef2685 Took over maintainership from Hubert.
Rewrote url2pkg in Perl, enhancing it in several ways:

- Packages for Perl modules using MakeMaker can be generated almost
  completely. The only thing that usually needs to be filled out after
  running url2pkg is the DESCR file.

- USE_LANGUAGES is filled automatically.

- After generating the initial Makefile, the editor is run to let the
  user edit the Makefile. These changes are preserved as much as
  possible. (This had not been the case before.)

- Extending url2pkg has been made much easier by splitting the tasks that
  do the "magic" into small subroutines and by adding a detailed
  description of what these routines are supposed to do.

Set the version number to 2.0.
2006-10-02 16:49:30 +00:00
dmcmahill
317622f197 On solaris use MANINSTALL=none instead of MANINSTALL=
This avoids problem where the plist-man.awk script sees the empty
value for MANINSTALL and sets it to the default of 'maninstall catinstall'.

Fixes install/packaging problems on solaris.
2006-10-02 16:21:33 +00:00
abs
83f9f1a996 Update pkgtools/pkg_chk to 1.82:
- Is '*' is passed to -U, unset all tags
    - Implement -p, to display all the pkgdirs for a given set of tags
2006-10-02 07:33:38 +00:00
rillig
c8293c56a2 Removed a leading "e". 2006-10-01 15:09:05 +00:00
rillig
5d92c31672 SITES.* may be used in package Makefiles. 2006-10-01 14:38:07 +00:00
dillo
de144fc2d1 This man page is in section 8, make the title say so.
From fgudin at nerim.net, thanks.
2006-09-28 09:36:44 +00:00
joerg
af88d32662 Copy XFree86 logic from x11/XFree86-libs to pkgtools/x11-links to
unbreak build of x11-links.
2006-09-27 16:41:20 +00:00