- fix desc lang
[packages/capi4k-utils.git] / capi4k-utils-make.patch
1 diff -uNr capi4k-utils.orig/Makefile capi4k-utils/Makefile
2 --- capi4k-utils.orig/Makefile  2002-11-20 14:45:14.000000000 +0100
3 +++ capi4k-utils/Makefile       2004-04-24 19:40:56.603079576 +0200
4 @@ -55,23 +55,10 @@
5  subtargets: $(CONFIGURATION)
6         set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i all; done
7  
8 -rootperm:
9 -       @echo 'main(int argc,char**argv){unlink(argv[0]);return(getuid()==0);}'>g
10 -       @if gcc -x c -o G g && rm -f g && ./G ; then \
11 -               echo -e "\n\n      Need root permission for (de)installation!\n\n"; \
12 -               exit 1; \
13 -       fi
14 -
15 -install: rootperm
16 +install:
17         set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i install; done
18 -       @if [ -c $(DESTDIR)/dev/isdnctrl0 ] && ls -l $(DESTDIR)/dev/isdnctrl0 | egrep "[[:space:]]45,[[:space:]]+64[[:space:]]" > /dev/null; \
19 -       then \
20 -               echo -e '(some) ISDN devices already exist, not creating them.\nUse scripts/makedev.sh manually if necessary.'; \
21 -       else \
22 -               sh scripts/makedev.sh $(DESTDIR) ; \
23 -       fi
24  
25 -uninstall: rootperm
26 +uninstall:
27         set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i uninstall; done
28  
29  #
30 diff -uNr capi4k-utils.orig/avmb1/Makefile.in capi4k-utils/avmb1/Makefile.in
31 --- capi4k-utils.orig/avmb1/Makefile.in 2002-10-26 21:27:40.000000000 +0200
32 +++ capi4k-utils/avmb1/Makefile.in      2004-04-24 19:39:42.971273312 +0200
33 @@ -15,8 +15,8 @@
34  MANDIR                 = @CONFIG_MANDIR@
35  MAN8DIR                        = $(MANDIR)/man8
36  INSTALL                        = @INSTALL@
37 -INSTALL_PROGRAM        = $(INSTALL) -o 0 -g 0 -m 0750
38 -INSTALL_MAN            = $(INSTALL) -o 0 -g 0 -m 0644
39 +INSTALL_PROGRAM        = $(INSTALL)
40 +INSTALL_MAN            = $(INSTALL)
41  prefix                 = @prefix@
42  exec_prefix            = @exec_prefix@
43  CC                             = @CC@
44 diff -uNr capi4k-utils.orig/pppdcapiplugin/Makefile capi4k-utils/pppdcapiplugin/Makefile
45 --- capi4k-utils.orig/pppdcapiplugin/Makefile   2004-02-23 19:30:39.000000000 +0100
46 +++ capi4k-utils/pppdcapiplugin/Makefile        2004-04-24 19:40:56.604079424 +0200
47 @@ -12,7 +12,7 @@
48  export CAPIINC=$(TOPDIR)/../capi20
49  export CAPILIB=$(TOPDIR)/../capi20
50  export INSTALL=$(TOPDIR)/install-sh -c
51 -export INSTALLDATA=$(TOPDIR)/install-sh -c -o root -m 600
52 +export INSTALLDATA=$(TOPDIR)/install-sh -c
53  export MKDIR=$(TOPDIR)/mkinstalldirs
54  
55  PPPSRCDIRS=/src/isdn/pppd
This page took 0.041636 seconds and 3 git commands to generate.