pkgsrc-Bugs archive

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

pkg/45041: bootstrap/bootstrap minix support



>Number:         45041
>Category:       pkg
>Synopsis:       bootstrap/bootstrap minix support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 10 14:20:01 +0000 2011
>Originator:     Thomas Cort
>Release:        N/A
>Organization:
Minix3
>Environment:
Minix 192.168.122.210 3.2.0 i686
>Description:
Minix isn't supported by the bootstrap script.
>How-To-Repeat:
Run the bootstrap script on a minix system.
>Fix:
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index a60c90b..9f4d5b4 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -614,6 +614,22 @@ Linux)
        set_opsys=no
        machine_arch=`uname -m | sed -e 's/i.86/i386/'`
        ;;
+Minix)
+       root_group=operator
+       need_bsd_install=yes
+       need_sed=no
+       need_awk=no
+       set_opsys=no
+       groupsprog="id -gn"
+       machine_arch=`uname -p`
+       check_compiler=yes
+       export CC="gcc"
+       export CPPFLAGS="-D_MINIX -D_POSIX_SOURCE"
+       export AR="ar"
+       export LD="ld"
+       export NM="nm"
+       [ -z "$fetch_cmd" ] && fetch_cmd=/usr/bin/fetch
+       ;;
 MirBSD)
        root_group=wheel
        need_pax=yes



Home | Main Index | Thread Index | Old Index