1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/comms/mgetty+sendfax/files/patch-ab

127 lines
3.7 KiB
Plaintext
Raw Normal View History

*** Makefile.orig Sun Aug 17 21:36:47 1997
--- Makefile Thu Oct 30 23:14:09 1997
***************
*** 4,11 ****
#
# this is the C compiler to use (on SunOS, the standard "cc" does not
# grok my code, so please use gcc there. On ISC 4.0, use "icc".).
! CC=gcc
! #CC=cc
#
#### C Compiler Flags ####
#
--- 4,11 ----
#
# this is the C compiler to use (on SunOS, the standard "cc" does not
# grok my code, so please use gcc there. On ISC 4.0, use "icc".).
! #CC=gcc
! CC=cc
#
#### C Compiler Flags ####
#
***************
*** 108,114 ****
1996-09-13 23:52:16 +00:00
# prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
#
#CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
! CFLAGS=-O2 -Wall -pipe
#CFLAGS=-O -DSVR4
#CFLAGS=-O -DSVR4 -DSVR42
#CFLAGS=-O -DUSE_POLL
--- 108,114 ----
1996-09-13 23:52:16 +00:00
# prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
#
#CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
! #CFLAGS=-O2 -Wall -pipe
#CFLAGS=-O -DSVR4
#CFLAGS=-O -DSVR4 -DSVR42
#CFLAGS=-O -DUSE_POLL
***************
*** 151,157 ****
# For Linux, add "-lutil" if the linker complains about "updwtmp".
#
LDFLAGS=
! LIBS=
#LIBS=-lprot -lsocket # SCO Unix
#LIBS=-lsocket
#LIBS=-lbsd # OSF/1
--- 151,157 ----
# For Linux, add "-lutil" if the linker complains about "updwtmp".
#
LDFLAGS=
! LIBS=-lutil
#LIBS=-lprot -lsocket # SCO Unix
#LIBS=-lsocket
#LIBS=-lbsd # OSF/1
***************
*** 260,268 ****
# please use the "mg.echo" program provided in the compat/ subdirectory.
# Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
#
! ECHO="echo"
#
! # INSTALL_MECHO=mg.echo
#
1996-09-13 23:52:16 +00:00
# for mgetty, that's it. If you want to use the voice
--- 260,268 ----
# please use the "mg.echo" program provided in the compat/ subdirectory.
# Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
#
! ECHO="mg.echo"
#
! INSTALL_MECHO=mg.echo
#
1996-09-13 23:52:16 +00:00
# for mgetty, that's it. If you want to use the voice
***************
*** 555,566 ****
1996-09-13 23:52:16 +00:00
install: install.bin install.doc
install.bin: mgetty sendfax newslock \
1996-09-13 23:52:16 +00:00
! login.config mgetty.config sendfax.config
#
# binaries
#
-test -d $(BINDIR) || ( ./mkidirs $(BINDIR) ; chmod 755 $(BINDIR) )
! $(INSTALL) -m 755 newslock $(BINDIR)
-test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
-mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
--- 555,566 ----
1996-09-13 23:52:16 +00:00
install: install.bin install.doc
install.bin: mgetty sendfax newslock \
1996-09-13 23:52:16 +00:00
! login.config #mgetty.config sendfax.config
#
# binaries
#
-test -d $(BINDIR) || ( ./mkidirs $(BINDIR) ; chmod 755 $(BINDIR) )
! $(INSTALL) -s -m 755 newslock $(BINDIR)
-test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
-mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
***************
*** 576,585 ****
( ./mkidirs $(CONFDIR); chmod 755 $(CONFDIR))
test -f $(CONFDIR)/login.config || \
$(INSTALL) -o root -m 600 login.config $(CONFDIR)/
! test -f $(CONFDIR)/mgetty.config || \
! $(INSTALL) -o root -m 600 mgetty.config $(CONFDIR)/
! test -f $(CONFDIR)/sendfax.config || \
! $(INSTALL) -o root -m 644 sendfax.config $(CONFDIR)/
test -f $(CONFDIR)/dialin.config || \
$(INSTALL) -o root -m 600 dialin.config $(CONFDIR)/
1997-04-05 03:56:17 +00:00
test -f $(CONFDIR)/faxrunq.config || \
--- 576,585 ----
( ./mkidirs $(CONFDIR); chmod 755 $(CONFDIR))
test -f $(CONFDIR)/login.config || \
$(INSTALL) -o root -m 600 login.config $(CONFDIR)/
! # test -f $(CONFDIR)/mgetty.config || \
! # $(INSTALL) -o root -m 600 mgetty.config $(CONFDIR)/
! # test -f $(CONFDIR)/sendfax.config || \
! # $(INSTALL) -o root -m 644 sendfax.config $(CONFDIR)/
test -f $(CONFDIR)/dialin.config || \
$(INSTALL) -o root -m 600 dialin.config $(CONFDIR)/
1997-04-05 03:56:17 +00:00
test -f $(CONFDIR)/faxrunq.config || \