pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap For DragonFly before the 1.4.0 release, defa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8284c4073873
branches:  trunk
changeset: 511116:8284c4073873
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Apr 09 13:39:52 2006 +0000

description:
For DragonFly before the 1.4.0 release, default to $prefix/pkgdb to
avoid conflicts with FreeBSD ports. Later versions use pkgsrc by default,
so use the more natural /var/db/pkg location and match the install CD
thereby.

diffstat:

 bootstrap/mkbinarykit |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a64a23914446 -r 8284c4073873 bootstrap/mkbinarykit
--- a/bootstrap/mkbinarykit     Sun Apr 09 13:16:04 2006 +0000
+++ b/bootstrap/mkbinarykit     Sun Apr 09 13:39:52 2006 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index