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

41 lines
1.2 KiB
Plaintext
Raw Normal View History

--- configure.orig Wed Nov 27 08:20:17 1996
+++ configure Mon Feb 2 10:21:51 1998
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/bash
# $Id: configure,v 1.401 1996/11/23 17:28:45 sam Rel $
#
# HylaFAX Facsimile Software
@@ -239,7 +239,7 @@
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others
-test -d /usr/local/bin && PATH=/usr/local/bin:$PATH # for GNU stuff
+test -d /usr/local/bin && PATH=$PATH:/usr/local/bin # for GNU stuff
PATH=$PATH:$OPATH
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions
@@ -1662,6 +1662,12 @@
CONFIG_OPENFIFO=O_RDONLY;
fi
;;
+ *-freebsd*) if releaseAtLeast 3.0; then
+ CONFIG_OPENFIFO=O_RDWR;
+ else
+ CONFIG_OPENFIFO=O_RDONLY;
+ fi
+ ;;
*) CONFIG_OPENFIFO=O_RDONLY;;
esac
}
@@ -3928,7 +3934,8 @@
printConfig
checkForExecutable $PATH_SENDMAIL
checkForExecutable $PATH_GETTY
- prompt "Are these ok [yes]?"; read ok
+# prompt "Are these ok [yes]?"; read ok
+ ok=yes
test -z "$ok" && ok=yes
case "$ok" in
[1-9]|1[0-9]) promptForParameter $ok;;