Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 01/25/2006 00:20:09
Module Name:	pkgsrc
Committed By:	joerg
Date:		Wed Jan 25 00:20:09 UTC 2006

Modified Files:
	pkgsrc/pkgtools/pkg_install/files: configure configure.ac
	pkgsrc/pkgtools/pkg_install/files/add: perform.c
	pkgsrc/pkgtools/pkg_install/files/lib: config.h.in version.h

Log Message:
Add conditional code to ignore the non-numeric part of an OS version
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
        1.4.0-RELEASE
are reduced to
        1.4.0

This code is currently enabled for DragonFly only.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/pkgtools/pkg_install/files/configure
cvs rdiff -r1.16 -r1.17 pkgsrc/pkgtools/pkg_install/files/configure.ac
cvs rdiff -r1.36 -r1.37 pkgsrc/pkgtools/pkg_install/files/add/perform.c
cvs rdiff -r1.11 -r1.12 pkgsrc/pkgtools/pkg_install/files/lib/config.h.in
cvs rdiff -r1.53 -r1.54 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.