updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / heirloom / 001-staticdep.diff
blobcaee8aeccceccc4e3dbfe9fdeec1950309cce21a
1 diff -u -r heirloom-070715.orig/man/Makefile.mk heirloom-070715/man/Makefile.mk
2 --- heirloom-070715.orig/man/Makefile.mk 2006-05-24 10:48:29.000000000 -0400
3 +++ heirloom-070715/man/Makefile.mk 2010-12-16 18:54:27.580000008 -0430
4 @@ -9,28 +9,8 @@
5 chmod 755 catman
7 bang.ksh:
8 - @IFS=: ;\
9 - if test "`uname`" = HP-UX ;\
10 - then \
11 - order='bash ksh';\
12 - else \
13 - order='ksh bash';\
14 - fi ;\
15 - for shell in ksh bash ;\
16 - do \
17 - for dir in /bin /usr/bin $$PATH ;\
18 - do \
19 - if test -x "$$dir"/$$shell ;\
20 - then \
21 - echo "selected $$dir/$$shell" ;\
22 - echo "#!$$dir/$$shell" > bang.ksh ;\
23 - echo "DFLDIR=$(DFLDIR)" >> bang.ksh ;\
24 - exit ;\
25 - fi ;\
26 - done ;\
27 - done ;\
28 - echo 'no bash or ksh found' >&2;\
29 - exit 1
30 + echo "#!$(MANSH)" > bang.ksh
31 + echo "DFLDIR=$(DFLDIR)" >> bang.ksh
33 man.dfl: man.dfl.in
34 case `uname` in \