Menu

[r10367]: / branches / dojo17 / patches / freebsd-rescue.patch  Maximize  Restore  History

Download this file

48 lines (41 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Index: rescue/rescue/Makefile
===================================================================
--- rescue/rescue/Makefile (revision 223845)
+++ rescue/rescue/Makefile (working copy)
@@ -72,6 +72,7 @@
CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \
ed expr getfacl hostname kenv kill ln ls mkdir mv \
pkill ps pwd realpath rm rmdir setfacl sh stty sync test
+CRUNCH_PROGS_bin+=sleep
CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -ltermcap -lutil
# Additional options for specific programs
@@ -200,6 +201,7 @@
CRUNCH_SRCDIRS+= usr.bin
CRUNCH_PROGS_usr.bin= head mt sed tail tee
+CRUNCH_PROGS_usr.bin+= awk cmp cut dialog dirname find grep mktemp sort tr uname xargs
CRUNCH_PROGS_usr.bin+= gzip
CRUNCH_ALIAS_gzip= gunzip gzcat zcat
@@ -224,12 +226,17 @@
CRUNCH_PROGS_usr.bin+= id
CRUNCH_ALIAS_id= groups whoami
+CRUNCH_SRCDIR_dialog= ${.CURDIR}/../../gnu/usr.bin/dialog
+CRUNCH_LIBS+= -ldialog -lncurses
+CRUNCH_SRCDIR_sort= ${.CURDIR}/../../gnu/usr.bin/sort
+
##################################################################
# Programs from stock /usr/sbin
#
CRUNCH_SRCDIRS+= usr.sbin
CRUNCH_PROGS_usr.sbin= chroot
+CRUNCH_PROGS_usr.sbin+= diskinfo vidcontrol
CRUNCH_PROGS_usr.sbin+= chown
CRUNCH_ALIAS_chown= chgrp
@@ -320,7 +327,7 @@
# <sigh> Someone should replace the bin/csh and bin/sh build-tools with
# shell scripts so we can remove this nonsense.
build-tools:
-.for _tool in bin/csh bin/sh
+.for _tool in bin/csh bin/sh usr.bin/awk
cd $(.CURDIR)/../../${_tool}; \
MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} obj; \
MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${MAKE} build-tools
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.