]> git.pld-linux.org Git - packages/fbterm.git/blob - fbterm-install.patch
- rebuild for x32
[packages/fbterm.git] / fbterm-install.patch
1 --- fbterm-1.6/src/Makefile.am.old      2009-12-09 21:19:26.000000000 +0100
2 +++ fbterm-1.6/src/Makefile.am  2009-12-09 21:19:40.000000000 +0100
3 @@ -9,25 +9,3 @@
4  
5  fbterm_CXXFLAGS = -fno-exceptions -fno-rtti -Ilib @FT2_INC@ @FC_INC@
6  fbterm_LDADD = lib/libshell.a @FT2_LIB@ @FC_LIB@ @X86_LIB@ -lutil
7 -
8 -if VESA
9 -install-exec-hook:
10 -       [[ "`id -u`" != "0" ]] && { \
11 -               echo "run 'make install' as root!"; \
12 -               exit 1; \
13 -       } || { \
14 -               chmod u+s $(DESTDIR)$(bindir)/fbterm$(EXEEXT); \
15 -       }
16 -else
17 -install-exec-hook:
18 -       KERV=`uname -r | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`; \
19 -       [[ $$KERV -lt 20615 ]] && exit 0; \
20 -       [[ "`id -u`" != "0" ]] && { \
21 -               echo "run 'make install' as root!"; \
22 -               exit 1; \
23 -       } || { \
24 -               [[ $$KERV -ge 20627 ]] && \
25 -               setcap 'cap_sys_tty_config+ep' $(DESTDIR)$(bindir)/fbterm$(EXEEXT) 2>/dev/null || \
26 -               chmod u+s $(DESTDIR)$(bindir)/fbterm$(EXEEXT); \
27 -       }
28 -endif
This page took 0.043746 seconds and 3 git commands to generate.