]> git.pld-linux.org Git - packages/fbterm.git/commitdiff
- removed an incovenient install-exex-hook
authorwitekfl <witekfl@pld-linux.org>
Sun, 26 Apr 2009 18:55:31 +0000 (18:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fbterm-install.patch -> 1.1

fbterm-install.patch [new file with mode: 0644]

diff --git a/fbterm-install.patch b/fbterm-install.patch
new file mode 100644 (file)
index 0000000..7797707
--- /dev/null
@@ -0,0 +1,18 @@
+--- fbterm-1.5/src/Makefile.am.old     2009-04-26 20:45:39.000000000 +0200
++++ fbterm-1.5/src/Makefile.am 2009-04-26 20:45:57.000000000 +0200
+@@ -8,15 +8,3 @@ EXTRA_fbterm_SOURCES = screen_render.cpp
+ fbterm_CXXFLAGS = -fno-exceptions -fno-rtti -Ilib @FT2_INC@ @FC_INC@
+ fbterm_LDADD = lib/libshell.a @FT2_LIB@ @FC_LIB@ -lutil
+-
+-install-exec-hook:
+-      KERV=`uname -r | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`; \
+-      [[ $$KERV -lt 20615 ]] && exit 0; \
+-      [[ "`id -u`" != "0" ]] && { \
+-              echo "run 'make install' as root!"; \
+-              exit 1; \
+-      } || { \
+-              [[ $$KERV -ge 20627 ]] \
+-              && setcap 'cap_sys_tty_config+ep' $(DESTDIR)$(bindir)/fbterm$(EXEEXT) 2>/dev/null \
+-              || chmod u+s $(DESTDIR)$(bindir)/fbterm$(EXEEXT); \
+-      }
This page took 0.074515 seconds and 4 git commands to generate.