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:
@@ -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")
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user