ALT Linux repos
Group :: Communications
RPM: mgetty
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mgetty-1.1.5-config.patch
Download
Download
diff --git a/mgetty/Makefile b/mgetty/Makefile
index fb5d4af..2018bae 100644
--- a/mgetty/Makefile
+++ b/mgetty/Makefile
@@ -109,7 +109,7 @@ HOSTCC=$(CC)
# USTAT - ustat(), no statfs etc.
#
#CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
-CFLAGS=-Wall -O2 -pipe
+CFLAGS=$(RPM_OPT_FLAGS) -DAUTO_PPP -DFIDO
#CFLAGS=-O -DSVR4
#CFLAGS=-O -DSVR4 -DSVR42
#CFLAGS=-O -DUSE_POLL
@@ -179,7 +179,7 @@ INSTALL=install -c -o bin -g bin
#
# prefix, where most (all?) of the stuff lives, usually /usr/local or /usr
#
-prefix=/usr/local
+prefix=/usr
#
# prefix for all the spool directories (usually /usr/spool or /var/spool)
#
@@ -199,7 +199,7 @@ LIBDIR=$(prefix)/lib/mgetty+sendfax
#
# where the configuration files (*.config, aliases, fax.allow/deny) go to
#
-CONFDIR=$(prefix)/etc/mgetty+sendfax
+CONFDIR=/etc/mgetty+sendfax
#CONFDIR=/etc/default/
#
#