diff options
Diffstat (limited to 'bootstrap/mkbinarykit')
-rwxr-xr-x | bootstrap/mkbinarykit | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bootstrap/mkbinarykit b/bootstrap/mkbinarykit index a6495974607..208706a36ac 100755 --- a/bootstrap/mkbinarykit +++ b/bootstrap/mkbinarykit @@ -1,6 +1,6 @@ #!/bin/sh -# $NetBSD: mkbinarykit,v 1.12 2005/02/18 00:26:07 xtraeme Exp $ +# $NetBSD: mkbinarykit,v 1.13 2006/04/09 13:39:52 joerg Exp $ # # Make a binary bootstrap kit and place it in targetdir (or current # working directory if not specified). The mk.conf.example file is @@ -38,8 +38,12 @@ AIX) pkgdbdir=$prefix/pkgdb ;; DragonFly) - # Don't use the ports /var/db/pkg - pkgdbdir=$prefix/pkgdb + case "$osrev" in + 1.0* | 1.1 | 1.1[^0-9]* | 1.2.* | 1.3.*) + # Don't use the ports /var/db/pkg + pkgdbdir=$prefix/pkgdb + ;; + esac ;; FreeBSD) # Don't use the ports /var/db/pkg |