Subject: pkg/28941: pkg_create / bootstrap fixes for DragonFlyBSD
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <xtoddx@gmail.com>
List: pkgsrc-bugs
Date: 01/11/2005 19:33:00
>Number:         28941
>Category:       pkg
>Synopsis:       pkg_create / bootstrap fixes for DragonFlyBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 11 19:33:00 +0000 2005
>Originator:     Todd Willey
>Release:        DragonFlyBSD -current
>Organization:
Crescent Anchor
>Environment:
>Description:
The bootstrap process on DragonFlyBSD does not properly set the TARPROG define in pkg_create.
>How-To-Repeat:
pkg_create something.
>Fix:
I have also used chec_prog to make sure pax and mtree are found, since we are using them from the base system as well.  This is what NetBSD does.

--- bootstrap.bak       2004-12-30 20:49:50.000000000 +0000
+++ bootstrap   2004-12-30 20:53:53.000000000 +0000
@@ -212,6 +212,9 @@
        need_bsd_install=no
        need_sed=no
        set_opsys=no
+       check_prog paxprog pax
+        check_prog tarprog tar
+        check_prog mtreeprog mtree
        machine_arch=`uname -p`
        ;;
 FreeBSD)