Step 0: mk/ Update Minix platform definition
We are transitionning from a full platform to a NetBSD variant, per the project policy of having a NetBSD userland. There is then little meaning in adapting all the NetBSD tests to also be true for Minix. This means the following is set as: * OPSYS = NetBSD * OS_VARIANT = Minix This also has the consequence of obsoleting a few files in pkgtools/bootstrap-mk-files.
This commit is contained in:
@@ -47,6 +47,8 @@ unprivileged=no
|
||||
|
||||
preserve_path=no
|
||||
|
||||
enable_db=yes
|
||||
|
||||
# where the building takes place
|
||||
bootstrapdir=`dirname "$0"`
|
||||
bootstrapdir=`cd "${bootstrapdir}" && pwd`
|
||||
@@ -721,11 +723,12 @@ Linux)
|
||||
Minix)
|
||||
root_group=operator
|
||||
need_bsd_install=yes
|
||||
enable_db=no
|
||||
need_awk=no
|
||||
need_sed=no
|
||||
set_opsys=no
|
||||
machine_arch=`uname -p`
|
||||
LDFLAGS="-lcompat_minix -lminlib"
|
||||
check_compiler=yes
|
||||
;;
|
||||
MirBSD)
|
||||
root_group=wheel
|
||||
@@ -1128,6 +1131,13 @@ if [ "$need_xargs" = "yes" ]; then
|
||||
need_extras=yes
|
||||
fi
|
||||
|
||||
if [ "$enable_db" = "yes" ]
|
||||
then
|
||||
db_flag="--enable-db"
|
||||
else
|
||||
db_flag="--disable-db"
|
||||
fi
|
||||
|
||||
echo_msg "Bootstrapping mk-files"
|
||||
run_cmd "(cd ${pkgsrcdir}/pkgtools/bootstrap-mk-files/files && env CP=${cpprog} \
|
||||
OPSYS=${opsys} MK_DST=${wrkdir}/share/mk ROOT_GROUP=${root_group} \
|
||||
@@ -1148,7 +1158,7 @@ bmake="$wrkdir/bin/bmake"
|
||||
# build libnbcompat
|
||||
echo_msg "Building libnbcompat"
|
||||
copy_src $pkgsrcdir/pkgtools/libnbcompat/files libnbcompat
|
||||
run_cmd "(cd $wrkdir/libnbcompat; $shprog ./configure $configure_quiet_flags -C --prefix=$prefix --infodir=$infodir --mandir=$mandir --sysconfdir=$sysconfdir --enable-bsd-getopt --enable-db && $bmake $make_quiet_flags -j$make_jobs)"
|
||||
run_cmd "(cd $wrkdir/libnbcompat; $shprog ./configure $configure_quiet_flags -C --prefix=$prefix --infodir=$infodir --mandir=$mandir --sysconfdir=$sysconfdir --enable-bsd-getopt $db_flag && $bmake $make_quiet_flags -j$make_jobs)"
|
||||
|
||||
# bootstrap ksh if necessary
|
||||
case "$need_ksh" in
|
||||
|
||||
Reference in New Issue
Block a user