diff options
author | seb <seb> | 2003-10-27 20:31:42 +0000 |
---|---|---|
committer | seb <seb> | 2003-10-27 20:31:42 +0000 |
commit | 8cf1c090a9bf07ff73aa42180a1478a82c971cd7 (patch) | |
tree | c8d7d1d2dae938dbbe9d09d6515289d01a6a5033 /pkgtools | |
parent | c199f2ecd66421520d1be705c449533d2c8af12b (diff) | |
download | pkgsrc-8cf1c090a9bf07ff73aa42180a1478a82c971cd7.tar.gz |
Update to version 0.3.
Add support for NetBSD 1.6.2.
XXX The "release date" is fiction.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libkver/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/libkver/files/Makefile.inc | 4 | ||||
-rw-r--r-- | pkgtools/libkver/files/lib/kver.c | 5 |
3 files changed, 9 insertions, 4 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile index 3f872a06099..e27d57c391d 100644 --- a/pkgtools/libkver/Makefile +++ b/pkgtools/libkver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/09/30 19:13:30 seb Exp $ +# $NetBSD: Makefile,v 1.7 2003/10/27 20:31:42 seb Exp $ DISTNAME= libkver-${VERSION} CATEGORIES= pkgtools @@ -17,7 +17,7 @@ NO_MTREE= # defined NO_PKG_REGISTER= # defined NO_PACKAGE= Deinstallation is not permitted -VERSION= 0.2 +VERSION= 0.3 ONLY_FOR_PLATFORM= NetBSD-*-* diff --git a/pkgtools/libkver/files/Makefile.inc b/pkgtools/libkver/files/Makefile.inc index 2751bcd290d..825480fb8be 100644 --- a/pkgtools/libkver/files/Makefile.inc +++ b/pkgtools/libkver/files/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.2 2003/07/20 15:37:47 seb Exp $ +# $NetBSD: Makefile.inc,v 1.3 2003/10/27 20:31:42 seb Exp $ .include <bsd.own.mk> @@ -8,12 +8,14 @@ SUPPORTED_KVER_OSRELEASES+= 1.5.2 SUPPORTED_KVER_OSRELEASES+= 1.5.3 SUPPORTED_KVER_OSRELEASES+= 1.6 SUPPORTED_KVER_OSRELEASES+= 1.6.1 +SUPPORTED_KVER_OSRELEASES+= 1.6.2 KVER_OSREVISION.1.5= 105000000 KVER_OSREVISION.1.5.1= 105000100 KVER_OSREVISION.1.5.2= 105000200 KVER_OSREVISION.1.5.3= 105000300 KVER_OSREVISION.1.6= 106000000 KVER_OSREVISION.1.6.1= 106000100 +KVER_OSREVISION.1.6.2= 106000200 .if defined(KVER_OSRELEASE) && !empty(SUPPORTED_KVER_OSRELEASES:M${KVER_OSRELEASE}) CFLAGS+= -D_KVER_OSREVISION=${KVER_OSREVISION.${KVER_OSRELEASE}} diff --git a/pkgtools/libkver/files/lib/kver.c b/pkgtools/libkver/files/lib/kver.c index 1e6abd168c3..7883b8a1b5c 100644 --- a/pkgtools/libkver/files/lib/kver.c +++ b/pkgtools/libkver/files/lib/kver.c @@ -1,4 +1,4 @@ -/* $NetBSD: kver.c,v 1.2 2003/09/30 19:13:30 seb Exp $ */ +/* $NetBSD: kver.c,v 1.3 2003/10/27 20:31:42 seb Exp $ */ #include <sys/types.h> #include <sys/param.h> @@ -31,6 +31,9 @@ #elif _KVER_OSREVISION == 106000100 # define _KVER_OSRELEASE "1.6.1"; # define _KVER_DATE "Mon Apr 21 00:00:00 UTC 2003" +#elif _KVER_OSREVISION == 106000200 +# define _KVER_OSRELEASE "1.6.2"; +# define _KVER_DATE "Tue Jan 19 00:00:00 UTC 2038" #else #error You must define _KVER_OSREVISION #endif |