]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/mgetty/mgetty-1.1.30/37-Makefile
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / mgetty / mgetty-1.1.30 / 37-Makefile
1 --- mgetty-1.1.30.orig/Makefile 2002-12-16 08:08:23.000000000 -0500
2 +++ mgetty-1.1.30/Makefile      2003-04-28 00:25:24.000000000 -0400
3 @@ -107,7 +107,7 @@
4  # prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
5  #
6  #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
7 -CFLAGS=-O2 -Wall -pipe
8 +CFLAGS=-O2 -Wall -pipe -DAUTO_PPP -DFIDO
9  #CFLAGS=-O -DSVR4
10  #CFLAGS=-O -DSVR4 -DSVR42
11  #CFLAGS=-O -DUSE_POLL
12 @@ -169,7 +169,7 @@
13  #
14  # if your systems doesn't have one, use the shell script that I provide
15  # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
16 -INSTALL=install -c -o bin -g bin
17 +INSTALL=install -c
18  #INSTALL=install -c -o root -g wheel           # NeXT/BSD
19  #INSTALL=/usr/ucb/install -c -o bin -g bin     # AIX, Solaris 2.x
20  #INSTALL=installbsd -c -o bin -g bin           # OSF/1, AIX 4.1, 4.2
21 @@ -177,11 +177,11 @@
22  #
23  # prefix, where most (all?) of the stuff lives, usually /usr/local or /usr
24  #
25 -prefix=/usr/local
26 +prefix=$(DESTDIR)/usr
27  #
28  # prefix for all the spool directories (usually /usr/spool or /var/spool)
29  #
30 -spool=/var/spool
31 +spool=$(DESTDIR)/var/spool
32  #
33  # where the mgetty + sendfax binaries live (used for "make install")
34  #
35 @@ -193,11 +193,11 @@
36  #
37  # where the font+coverpage files go
38  #
39 -LIBDIR=$(prefix)/lib/mgetty+sendfax
40 +LIBDIR=$(prefix)/lib/mgetty-fax
41  #
42  # where the configuration files (*.config, aliases, fax.allow/deny) go to
43  #
44 -CONFDIR=$(prefix)/etc/mgetty+sendfax
45 +CONFDIR=$(DESTDIR)/etc/mgetty
46  #CONFDIR=/etc/default/
47  #
48  #
49 @@ -220,31 +220,33 @@
50  # (it's possible to run faxrunq(d) as root, but the FAX_OUT_USER 
51  #  MUST NOT BE root or any other privileged account).
52  #
53 -FAX_OUT_USER=fax
54 +FAX_OUT_USER=uucp
55  #
56  #
57  # Where section 1 manual pages should be placed
58 -MAN1DIR=$(prefix)/man/man1
59 +MAN1DIR=$(prefix)/share/man/man1
60  #
61  # Where section 4 manual pages (mgettydefs.4) should be placed
62 -MAN4DIR=$(prefix)/man/man4
63 +MAN4DIR=$(prefix)/share/man/man4
64  #
65  # Section 5 man pages (faxqueue.5)
66 -MAN5DIR=$(prefix)/man/man5
67 +MAN5DIR=$(prefix)/share/man/man5
68  #
69  # Section 8 man pages (sendfax.8)
70 -MAN8DIR=$(prefix)/man/man8
71 +MAN8DIR=$(prefix)/share/man/man8
72  #
73  # Where the GNU Info-Files are located
74  #
75 -INFODIR=$(prefix)/info
76 +INFODIR=$(prefix)/share/info
77  #
78  #
79  # A shell that understands bourne-shell syntax
80  #  Usually this will be /bin/sh or /usr/bin/sh, but bash or ksh are fine.
81  #  (on some ultrix systems, you may need /bin/sh5 here)
82  #
83 -SHELL=/bin/sh
84 +# On Debian GNU/Linux, bash is a required package so we can use it to solve
85 +# bug #149851.
86 +SHELL=/bin/bash
87  #
88  # If you have problems with the awk-programs in the fax/ shell scripts,
89  # try using "nawk" or "gawk" (or whatever works...) here
90 @@ -274,7 +276,7 @@
91  # please use the "mg.echo" program provided in the compat/ subdirectory.
92  # Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
93  #
94 -ECHO="echo"
95 +ECHO="echo -e"
96  #
97  # INSTALL_MECHO=mg.echo
98  
99 @@ -284,7 +286,7 @@
100  
101  # To maintain security, I recommend creating a new group for
102  # users who are allowed to manipulate the recorded voice messages.
103 -PHONE_GROUP=phone
104 +PHONE_GROUP=voice
105  PHONE_PERMS=770
106  
107  # Add -DNO_STRSTR to CFLAGS if you don't have strstr().
108 @@ -594,7 +596,7 @@
109         -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
110         -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
111         -mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old
112 -       $(INSTALL) -s -m 700 mgetty $(SBINDIR)
113 +       $(INSTALL) -s -m 755 mgetty $(SBINDIR)
114         $(INSTALL) -s -m 755 sendfax $(SBINDIR)
115  #
116  # data files + directories
117 @@ -663,12 +665,15 @@
118  #
119  # documentation
120  #
121 -install.doc:
122 -       cd doc ; $(MAKE) install INSTALL="$(INSTALL)" \
123 +install.man:
124 +       cd doc ; $(MAKE) install.man INSTALL="$(INSTALL)" \
125                                 MAN1DIR=$(MAN1DIR) \
126                                 MAN4DIR=$(MAN4DIR) \
127                                 MAN5DIR=$(MAN5DIR) \
128 -                               MAN8DIR=$(MAN8DIR) \
129 +                               MAN8DIR=$(MAN8DIR)
130 +
131 +install.info:
132 +       cd doc ; $(MAKE) install.info INSTALL="$(INSTALL)" \
133                                 INFODIR=$(INFODIR)
134  
135  #
136 @@ -736,3 +741,5 @@
137    conf_sf.h 
138  tio.o : tio.c mgetty.h ugly.h tio.h 
139  utmp.o : utmp.c mgetty.h ugly.h mg_utmp.h 
140 +
141 +.PHONY: install install.bin install.man install.info