Cross compile on minix support

* Remade patch so it works with minix patch tool.

 * New MINIX tar support -ox, so revert back to it

   In fetch scripts, tar had been replaced by bsdtar as the prebvious
   tar did not support the -o flag under minix, which is required to
   prevent usage of tar file stored user and group information.

   This introduces portability problems. As our new tar tool now
   support that flag revert back to improve portability.
This commit is contained in:
Lionel Sambuc
2012-11-01 22:55:12 +01:00
committed by Lionel Sambuc
parent 6227378147
commit b8a678ef1d
32 changed files with 21644 additions and 31161 deletions

View File

@@ -13,6 +13,7 @@ PROG= passwd
SRCS= local_passwd.c passwd.c
MAN= passwd.1
# LSC No LOGIN_CAP on Minix?
CPPFLAGS+=-I${.CURDIR} #-DLOGIN_CAP
.if (${USE_YP} != "no")

View File

@@ -6,6 +6,7 @@
PROG= sed
SRCS= compile.c main.c misc.c process.c
# LSC FIXME Still required?
SYMLINKS?= ${BINDIR}/sed /bin/sed
.include <bsd.prog.mk>

View File

@@ -7,7 +7,7 @@ CPPFLAGS+= -I${.CURDIR}/../../lib/libterminfo
.ifndef HOSTPROG
LDADD+= -lterminfo -lutil
DPADD+= ${LIBTERMINFO} #${LIBUTIL}
DPADD+= ${LIBTERMINFO} ${LIBUTIL}
.endif
.include <bsd.prog.mk>

View File

@@ -3,9 +3,6 @@
.include <bsd.own.mk>
# LSC Until it compiles cleanly...
NOGCCERROR:=yes
PROG= xinstall
SRCS= xinstall.c getid.c
MAN= install.1

View File

@@ -252,8 +252,7 @@ main(int argc, char *argv[])
case 'p':
dopreserve = 1;
#ifdef __minix
errx(1,
"Minix lacks support for futimes(3)/utimes(2)");
warn("Minix lacks support for futimes(3)/utimes(2)");
#endif
break;
case 'r':