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

105 lines
3.0 KiB
Plaintext
Raw Normal View History

1998-07-16 06:44:42 +00:00
--- Makefile.orig Mon Jul 6 05:24:36 1998
+++ Makefile Thu Jul 16 14:04:54 1998
@@ -4,8 +4,8 @@
#
# 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
+#CC=gcc
+CC=cc
#
#### C Compiler Flags ####
#
1998-07-16 06:44:42 +00:00
@@ -107,7 +107,7 @@
# prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
#
#CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
-CFLAGS=-O2 -Wall -pipe
1998-07-16 06:44:42 +00:00
+CFLAGS+=-DAUTO_PPP
#CFLAGS=-O -DSVR4
#CFLAGS=-O -DSVR4 -DSVR42
#CFLAGS=-O -DUSE_POLL
1998-07-16 06:44:42 +00:00
@@ -149,7 +149,7 @@
# For Linux, add "-lutil" if the linker complains about "updwtmp".
#
LDFLAGS=
-LIBS=
+LIBS=-lutil
#LIBS=-lprot -lsocket # SCO Unix
#LIBS=-lsocket
#LIBS=-lbsd # OSF/1
1998-07-16 06:44:42 +00:00
@@ -247,7 +247,7 @@
# If you have Perl with TK extentions, define it here. This may be the
# same as PERL=... above, or different, if you have TkPerl statically
# linked.
-TKPERL=/usr/bin/tkperl
+#TKPERL=/usr/bin/tkperl
#
#
# An echo program that understands escapes like "\n" for newline or
@@ -259,9 +259,9 @@
# please use the "mg.echo" program provided in the compat/ subdirectory.
# Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
#
-ECHO="echo"
+ECHO="mg.echo"
#
-# INSTALL_MECHO=mg.echo
+INSTALL_MECHO=mg.echo
#
# for mgetty, that's it. If you want to use the voice
1998-07-16 06:44:42 +00:00
@@ -269,7 +269,7 @@
# To maintain security, I recommend creating a new group for
# users who are allowed to manipulate the recorded voice messages.
-PHONE_GROUP=phone
+PHONE_GROUP=uucp
PHONE_PERMS=770
# Add -DNO_STRSTR to CFLAGS if you don't have strstr().
1998-07-16 06:44:42 +00:00
@@ -301,7 +301,7 @@
all: bin-all doc-all
-bin-all: mgetty sendfax newslock subdirs call-back
+bin-all: mgetty sendfax newslock subdirs call-back vgetty
# a few C files need extra compiler arguments
1998-07-16 06:44:42 +00:00
@@ -560,15 +560,15 @@
cd bindist; gtar cvvfz mgetty$(MR).$(SR)-bin.tgz *
-install: install.bin install.doc
+install: install.bin install.doc install-vgetty
install.bin: mgetty sendfax newslock \
- login.config mgetty.config sendfax.config
+ login.config #mgetty.config sendfax.config
#
# binaries
#
-test -d $(BINDIR) || ( ./mkidirs $(BINDIR) ; chmod 755 $(BINDIR) )
- $(INSTALL) -m 755 newslock $(BINDIR)
+ $(INSTALL) -s -m 755 newslock $(BINDIR)
-test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
-mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
1998-07-16 06:44:42 +00:00
@@ -584,10 +584,10 @@
( ./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)/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 || \