]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/cron/cron-3.0pl1/nonrootinstall.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / cron / cron-3.0pl1 / nonrootinstall.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- cron3.0pl1/Makefile~nonrootinstall
7 +++ cron3.0pl1/Makefile
8 @@ -77,6 +77,9 @@
9  #<<the name of the BSD-like install program>>
10  #INSTALL = installbsd
11  INSTALL = install
12 +ifeq ($(DESTDIR),)
13 +INSTALLOWN = -o root
14 +endif
15  #<<any special load flags>>
16  LDFLAGS                =
17  #################################### end configurable stuff
18 @@ -113,8 +116,8 @@
19                         $(CC) $(LDFLAGS) -o crontab $(CRONTAB_OBJ) $(LIBS)
20  
21  install                :       all
22 -                       $(INSTALL) -c -m  111 -o root -s cron    $(DESTSBIN)/
23 -                       $(INSTALL) -c -m 4111 -o root -s crontab $(DESTBIN)/
24 +                       $(INSTALL) -c -m  111 $(INSTALLOWN) -s cron    $(DESTSBIN)/
25 +                       $(INSTALL) -c -m 4111 $(INSTALLOWN) -s crontab $(DESTBIN)/
26                         sh putman.sh crontab.1 $(DESTMAN)
27                         sh putman.sh cron.8    $(DESTMAN)
28                         sh putman.sh crontab.5 $(DESTMAN)