Subject: CVS commit: pkgsrc/pkgtools/pkg_install
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 08/29/2007 15:42:40
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Aug 29 15:42:40 UTC 2007

Modified Files:
	pkgsrc/pkgtools/pkg_install: Makefile
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/lib: file.c lib.h version.h

Log Message:
* When adding or checking a package using pkg_admin(1), give a more
  meaningful warning if the file is a symlink whose target doesn't exist.
  The message has now been changed from:

    pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem!

  to:

    pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist!

* Pass values for --sysconfdir (and --prefix) to the configure script
  instead of passing them through CPPFLAGS.  Both SYSCONFDIR and PREFIX
  are only used by audit-packages, and the audit-packages Makefile
  already handles passing these values inherited from the configure
  script.  This avoids compiler warnings that, e.g. SYSCONFDIR has been
  redefined on the command line.

* Fix quoting for arguments to the configure script -- :Q instead of
  \"\".

Bump version to 20070828.  Reviewed by <joerg>.


To generate a diff of this commit:
cvs rdiff -r1.140 -r1.141 pkgsrc/pkgtools/pkg_install/Makefile
cvs rdiff -r1.31 -r1.32 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.22 -r1.23 pkgsrc/pkgtools/pkg_install/files/lib/file.c
cvs rdiff -r1.36 -r1.37 pkgsrc/pkgtools/pkg_install/files/lib/lib.h
cvs rdiff -r1.79 -r1.80 pkgsrc/pkgtools/pkg_install/files/lib/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.