summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/mgetty+sendfax/scripts/configure5
1 files changed, 1 insertions, 4 deletions
diff --git a/comms/mgetty+sendfax/scripts/configure b/comms/mgetty+sendfax/scripts/configure
index b0683330b4a6..c0275fc06bf4 100644
--- a/comms/mgetty+sendfax/scripts/configure
+++ b/comms/mgetty+sendfax/scripts/configure
@@ -1,7 +1,7 @@
#!/bin/sh
cd $WRKSRC || exit 1
-cp policy.h-dist policy.h
+sed -e s:/usr/local:$PREFIX: < policy.h-dist > policy.h
cat >> policy.h <<END
@@ -10,9 +10,6 @@ cat >> policy.h <<END
#define CNDFILE "dialin.config"
-#undef MGETTY_PID_FILE
-#define MGETTY_PID_FILE "/var/run/mg-pid.%s"
-
#undef LOCK
#define LOCK "/var/spool/lock/LCK..%s"