Commit graph

10 commits

Author SHA1 Message Date
Thomas Klausner
9d990e7a39 Partially sync with pkgtools/pkg_install/Makefile. 2007-03-02 08:48:51 +00:00
Yoshito Komatsu
3ac4fbc0ed Replace tech-pkg@NetBSD.org with pkgsrc-users@NetBSD.org. 2006-05-19 16:51:13 +00:00
Roland Illig
91a02fafba Ran "pkglint --autofix", which fixed some quoting issues in MAKE_ENV,
CONFIGURE_ARGS, FILES_SUBST and the like.
2005-12-05 22:27:44 +00:00
Roland Illig
2c1cc3dceb Ran pkglint --autofix over the complete pkgsrc-wip. This changed all
instances like MAKE_ENV+= VAR=${VAR} to the properly quoted form,
VAR=${VAR:Q}, or even VAR=${VAR:M*:Q} if necessary.

Manually reviewed the changes.
2005-11-28 00:27:22 +00:00
Roland Illig
4630aecd03 Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:50:09 +00:00
Todd Vierling
5f60a41bb5 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:09:34 +00:00
Todd Vierling
62eceec26c Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-06 05:40:53 +00:00
Jeremy C. Reed
18d96dc591 Even if "Overwriting" record the data in the package database (db file).
Fix problem with the check for the file belonging to older (previous)
package. And also change verbose message about this.
(Note: it doesn't delete the file yet for some more testing.)

Don't use db's R_NOOVERWRITE flag when storing a value. Just default
to overwrite the data. This was required so we could easily see
if files from old/previous package should be removed or not.

Bump PKGREVISION.
2004-07-24 01:24:05 +00:00
Jeremy C. Reed
623fce5539 Update this to new changes found in regular pkgtools/pkg_install.
This includes:
- setting umask to default setting
- show build information per variable (new -Q option for pkg_info)
- check IGNORE_RECOMMENDED setting
The version is now 20040508

Also obey additional bits of CONFIGURE_ENV when configuring libnbcompat.
2004-05-22 19:56:24 +00:00
Jeremy C. Reed
ee1c51b7e9 *** This is a testing replacement for pkg_install. ***
*** It includes DB functionality on different platforms.    ***
*** It includes a new pkg_add -u switch (and -r is old -u). ***
*** This package can be registered as a package.            ***

This is a custom pkg_install:

1) configures for more db versions.

2) integrates a new package upgrade routine where it overwrites
   instead of pkg_delete'ing first (see pkg_add man page)

3) pkg_add -r is the replace mechanism -- it is the old -u switch

4) pkg_add -u is the new overwriting upgrade option

5) currently the part to delete files no longer included after
   upgrade is disabled (for now for testing)
2004-04-02 05:57:35 +00:00