Source-Changes-HG archive

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

[src/netbsd-1-6]: src/tools/lorder Pull up revision 1.5 (requested by thorpej...



details:   https://anonhg.NetBSD.org/src/rev/86377bd1d106
branches:  netbsd-1-6
changeset: 529614:86377bd1d106
user:      he <he%NetBSD.org@localhost>
date:      Sun Dec 01 12:28:52 2002 +0000

description:
Pull up revision 1.5 (requested by thorpej in ticket #826):
  Patch lorder wirh the host's working shell.

diffstat:

 tools/lorder/Makefile |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0a891d4e92b2 -r 86377bd1d106 tools/lorder/Makefile
--- a/tools/lorder/Makefile     Sun Dec 01 12:27:05 2002 +0000
+++ b/tools/lorder/Makefile     Sun Dec 01 12:28:52 2002 +0000
@@ -1,11 +1,23 @@
-#      $NetBSD: Makefile,v 1.4 2001/11/19 04:47:43 perry Exp $
+#      $NetBSD: Makefile,v 1.4.2.1 2002/12/01 12:28:52 he Exp $
+
+.include <bsd.own.mk>
+
+COMPATOBJ!=    cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
+.-include      "${COMPATOBJ}/defs.mk"
 
 TIMESTAMP=     ${TOOLDIR}/bin/nblorder
 
+CLEANFILES+=   lorder
+
 .PATH: ${.CURDIR}/../../usr.bin/lorder
 
 .include <bsd.hostprog.mk>
 
 install: ${TIMESTAMP}
-${TIMESTAMP}: lorder.sh
+${TIMESTAMP}: lorder
        ${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
+
+lorder: lorder.sh
+       sed -e "s,/bin/sh,${HOST_BSHELL},g" < ${.ALLSRC} > ${.TARGET}
+
+realall: lorder



Home | Main Index | Thread Index | Old Index