1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/comms/mgetty+sendfax/files/patch-ab
Jean-Marc Zucconi c14ae00aec Upgrade to version 1.1.9
Submitted by:	Vanill I. Shu  <vanilla@MinJe.com.TW>
1997-11-08 01:23:58 +00:00

127 lines
3.7 KiB
Plaintext

*** 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 ****
# 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 ----
# 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
#
# 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
#
# for mgetty, that's it. If you want to use the voice
***************
*** 555,566 ****
install: install.bin install.doc
install.bin: mgetty sendfax newslock \
! 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 ----
install: install.bin install.doc
install.bin: mgetty sendfax newslock \
! 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)/
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)/
test -f $(CONFDIR)/faxrunq.config || \